Good Day All
i have a Jquery code defined like this
// Let's add it to textarea this time
$(".cnt").focus(function()
{
// Check for the change
if(this.value == this.defaultValue){
this.select();
}
});
and i am creating a textbox on fly and after creating it i bind data to it and after that i want to attach a focus event if there a value "0" on it
If cnt.Text = "0" Then
cnt.CssClass = "cnt"
End If
but still when i select a textbox that has "0" it does not select the whole content of the textbox. i went through a breakpoint and it goes through this line
cnt.CssClass = "cnt"
Thanks