<label id="lbl" title=@model.value>text</label>
if(true) { $('lbl').removeclass(cls).removeAttr('title'); //This will remove the title } else { $('lbl').addclass(cls); I want the title to display in this condition. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)