You may have a normal HTML Form, like: contact form, feedback form or any other forms in your website or any website you work on.
Did you think how difficult converting this FORM into AJAX?
Let me say, it will be very simple. Simple as 1 minute of changes.
How is that, right?
In the last jQuery Animate article I wrote, I mentioned how to use the .animate() function with few tricks.
But here, I am going to write about jQuery Animate function in general and I will explain few things and some tricks.
The jQuery Animate is a smart object because could be used at any syntax.
We can use the default syntax of this function as follow:
/* params */ },
/* integet time period in milliseconds */
Here I will mention how to use the jquery animate function and the usability and flexibility of it.
The syntax of this function is:
$.animate(options, settings, callback);
/* you can replace setting with duration (in milliseconds) or words: ‘slow’, ‘normal’ or ‘fast’.
callback is optional */
Below is a list of popular and most used animation:
increasing/decreasing width and height
moving or scrolling html element
Now let me explain each in an example.