Hi Community,
I'm trying to work with reset the value and disable textbox when the checkbox is checked. I tried to do it but what I only work is disable the textbox. How to add the reset the value of textbox
jQuery('input[type="checkbox"]').on("click",function(){
if(jQuery( "[id='checkboxid']" ).prop('checked')== true)
{
jQuery('[id="textboxid1"]').prop("disabled",true);
else {
jQuery('[id="textboxid1"]').prop("disabled",false);
}
});
How to reset and disable textbox when the checkbox is checked
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


