Jquery - how to open a window and POST to it? (required for bank processing page - doesn't accept querystring)

jquery, post, postback

Solution

Stackoverflow Archive:

Javascript Post on Form Submit Open New Window

Accepted Answer: Add `<form target="_blank" ...></form>` or `form.setAttribute("target", "_blank");` to your form's definition.

Google Results:

- "Javascript Post to New Window"

Problem

Is there anyway that i can open a new window in the browser using jquery and post to it. Reason being is my bank requires that i open there payment gateway and pass my values by POST and not GET. I have a bit of workaround at the moment but its not idea.. I used QUERYSTRING to an ASPX page withing some hidden forms and submit the form to my bank but its really not good. Maybe jquery can do this natively or using a plugin?

Original source

Related problems