jQuery disable enable submit button
//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:
- what is .eslint.js in vue
- Rendered more hooks than during the previous rende
- event when variable value changes javascript
- swal2 with select2
- angular pipe multiple arguments
- reset node modules
- capitalize first letter in each word javascript
- responsive calc height react native
- javascript detect touch screen device
- js get number from string
- react admin data provider
- jquery on wheel event
- vue js access data in method
- ellipses in js
- How to rewrite a function using arrow function syntax
- javascript to uppercase
- how to find area of polygon with coordinates in javascript
- cli run js
- node stdin read char by char
- what is a javascript method
- vuejs change prop value
- es6 array sum javascript
- react material ui
- memento database javascript list