I been experimenting with different ways to clear a form after an ajax submit. An add form to be specific.
I found a post from the old jQuery Google Group by Brandon Aaron.
jQuery('#myForm')[0].reset();
I tested it out and it works great.
I been experimenting with different ways to clear a form after an ajax submit. An add form to be specific.
I found a post from the old jQuery Google Group by Brandon Aaron.
jQuery('#myForm')[0].reset();
I tested it out and it works great.