Good Day All
i have a Jquery code defined like this
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 itCode:// Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } });
Code: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
ThanksCode:cnt.CssClass = "cnt"


Reply With Quote
