t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.4k stars 2.84k forks source link

is there any way i can pass the form values to another page and redirect to that another page #781

Open ephraimagbayani opened 6 years ago

ephraimagbayani commented 6 years ago

is there any way i can pass the form values to another page and redirect to that another page after clicking the okay button in sweet alert? I used windows.location and i think its not right, after clicking the okay button in the alert i was redirected to page2.php but there are no value passed. like:

//inputs

im sorry just a new to this.

iAyubAnsari commented 6 years ago

first set action to your

tag eg :

then after execution of your code,,, redirects with sweetalerts