If you are creating a HTML form, especially jQuery Ajax driven form, you might want to disable the submit button while page goes into loading mode, because you don’t want user to resubmit same content and cause script failure. To prevent this from happening, we need to disable submit button, here’s how.
Let’s say you have following radio options for the user, and you need to retrieve the value from selected radio button using jQuery.Choose option: CSS jQuery HTML XML
We can smoothly move any element using jQuery .animate() method, the method basically changes value of css property of the element gradually to perform animation effect, the example shows how easily we can move DIV box to left, right, up and down with .animate() method.
Sometimes we need to run two or three JavaScript libraries. And many other JavaScript libraries use $ character as their variable or function name. Take an example of Mootool and jQuery library, both use $. If you try to load these both library, this will certainly cause conflict when you try to run some script in your page.