jquery enable submit button
$("#button").attr("disabled", true);function disable(i){
$("#rbutton_"+i).prop("disabled",true);
}//jQuery 1.6+ use:
$("#submitButtonID").prop('disabled', true); //disable
$("#submitButtonID").prop('disabled', false); //enable
//jQuery 1.5 and below use:
$("#submitButtonID").attr('disabled','disabled'); //disable
$("#submitButtonID").removeAttr('disabled'); //enable
Also in JavaScript:
- Javascript format to currency
- javascript looping through object
- clear form inside modal after close reactjs
- React hooks update parent state from child
- react flip move
- mm dd yyyy how to get date in this format in javascript
- how to remove property of object in javascript without delete
- How to uninstall npm modules in node js?
- return an array of strings from an array of objects js
- express validator always return error
- getting view height dynamically in react native
- angular material theme colors
- algolia react hits
- reactjs cloudflare
- how to declare a variable js
- how to pass callback function in javascript
- jquery onclick function show alert
- javascript count digits
- math.min
- javascript loadImage
- add jquery cdn
- oop js is
- jquery on element change
- Javascript measure function run time