< html > < head > < script type = " text/javascript " src = " jquery-1.4.2.min.js " > </ script > < style type = " text/css " > .submit { padding : 8px ; border : 1px solid blue ; } </ style > </ head > < body > < h1 > Disabled submit form button after clicked with jQuery </ h1 > < form action = " # " > < p > I'm a form ~ </ p > < input type = " submit " value = " Submit " > </ input > < button > Enable Submit Button </ button > </ form > < script type = " text/javascript " > $ ( 'input:submit' ) . click ( function ( ) { $ ( 'p' ) . text ( "Form submiting....." ) . addClass ( 'submit' ) ; $ ( 'input:submit' ) . attr ( "disabled" , true ) ; } ) ; $ ( 'button' ) . click ( function...
Infowebtutorial blog provide meaning full and useful information about all types of programming languages ,web design ,computer information and window operating system information