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/
精彩评论