How to resubmit PHP form with javascript
Posted
by
user866339
on Stack Overflow
See other posts from Stack Overflow
or by user866339
Published on 2012-09-16T03:31:02Z
Indexed on
2012/09/16
3:37 UTC
Read the original article
Hit count: 73
I am wondering if it is possible to to resubmit a form with a button click that calls up a javascript command.
So this is basically what I'm trying to do -
page 1: form; action = page2.php
page 2: generate a randomized list according to parameters set by page 1
I would like to place a button on page 2 so that on click, it would be as if the user has hit F5, and a new list would be generated with the same parameters.
I found a lot of help on Google with people trying NOT to get this to happen, but I'm not sure how to actually get it to happen.....
Thank you!
© Stack Overflow or respective owner