0

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 jQuery to grab each value and prepare the URL, I want to try the approach mentioned above.

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

1 Comment

That's precisely what I was needing. Thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.