What is the best way of fading out a form and fading in the results when using the jQuery form plugin? (http://jquery.malsup.com/form/#getting-started)
Well there are fadeIn and fadeOut functions (api.jquery.com/fadeIn) in jQuery that you can use. I suggest that you wrap your in some block-element, like a . Then you can do $('#formwrapper').fadeOut(); when requesting, and use fadeIn on the response element.
以上就是jQuery form animation on submission的详细内容，更多请关注web前端其它相关文章！