how to Clear the values of Telerik Masked TextBox Via Jquery when users clicks on that Telerik Masked TextBox -


i making module in person's name , mobile number saved in database. telerik masked textbox being used method input phone numbers.

$(".maincontainer").find("#salebyowner").find("input").val(""); 

when div gets loaded @ first instance respectively clears values on it. when click on respective phone number's textbox, values again set. need clear it. have applied following doesn't seems working.

 $(".maincontainer").find("#salebyowner").find("#rad_sale_owner_no").click(function () {                            $(".maincontainer").find("#salebyowner").find("#rad_sale_owner_no").val("");  alert("its working");  }); 

or if there someother way changing properties, answer welcome.

try this... work.

<clientevents onfocus="onfocus" /> 

javascript:

<script type="text/javascript">     function onfocus(sender, args) {         sender.clear();     } </script> 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -