Category: Helper Functions

These functions assist with common idioms encountered when performing Ajax tasks.

Also in: Miscellaneous > Collection Manipulation | Forms
jQuery.param()
Create a serialized representation of an array, a plain object, or a jQuery object suitable for use in a URL query string or Ajax request. In case a jQuery object is passed, it should contain input elements with name/value properties.

Also in: Forms
.serialize()
Encode a set of form elements as a string for submission.

Also in: Forms
.serializeArray()
Encode a set of form elements as an array of names and values.

发布了73 篇原创文章 · 获赞 189 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105570034