Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 5
    If you go by this method, make sure the url doesn't have query params because they'll be skipped by form submit. One solution is to embed hidden input elements inside the form element that have name as key & value as value for all the parameters inside query params. And then submit the form Commented Feb 16, 2016 at 12:49
  • this can be done more simply with an a tag instead of a form, and using the jQuery .click() method to "submit" it. check my answer Commented Mar 24, 2016 at 21:37