开发者

Getting html form output with JS/jQuery

Is there any way to get the parameterized URL generated during the submission of an HTML form with JS/jQuery, for the purpose of performing an ajax call?

i.e. I have a form with numerous checkboxes, and rather than use some jQ开发者_如何学Pythonuery to grab each value and prepare the URL, I want to try the approach mentioned above.


You can use the jQuery(form).serialize() as documented here: http://api.jquery.com/serialize/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜