asp.net - validating dynamic controls using jquery -
How can I verify the dynamic text box that is generated on runtime using jQuery?
<% text box TB = new text box (); Tb.Attributes.Add ("data-validateme", "true"); Page.Controls.Add (TB); & Gt%; which will add an HTML5 data feature.
& lt; Input type = "text" data-validation = "true" jQuery:
$ (document) .ready (function () {$ (" * [Data-validateme] "). Change (function () {warning ($ (this) .val ());});});
Comments
Post a Comment