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?
Javascript Post on Form Submit Open New Window
Accepted Answer:
Add<form target="_blank" ...></form>
orform.setAttribute("target", "_blank");
to your form's definition.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With