Using Id: To Disable the Element: jQuery(‘#id’).attr(‘disabled’,’disabled’); //Here id is form element id To Enable the Element: jQuery(‘#id’).removeAttr(“disabled”); Using Name: To Disable the Element: jQuery(‘input[name=”elementname”]’).attr(‘disabled’,’disabled’); … disable and enable form element using jqueryRead more
Javascript
Posted inAll / Javascript
Get the text box value using jquery
By using textboxid: jQuery(‘#texboxid’).val(); By using name: jQuery(‘input[name=”textboxname”]’).val();
Posted inAll / Javascript
What is AJAX and it’s full form
Full Form: Asynchronous JavaScript and XML. Ajax uses web technologies on the client-side to create asynchronous web applications. With Ajax, web applications can send and … What is AJAX and it’s full formRead more
Posted inAll / Javascript
Submit a form without submit button
document.formname.submit(); //It will work when we are using single form in a page document.forms[‘formname’].submit(); //It will work when we are using multiple forms // above … Submit a form without submit buttonRead more