I have a simple mail list signup form. The form is displayed by clicking a text link. I use jQuery to display the form in a modal div, with tranparent background mask. Currently on submit I reload the page that has the link on it using 'redirect url'.
Two questions:
1) I'd like to use the form on more than one page. Is there a way to set the redirect url to something like "previous page"?
2) On submit I'd like the modal div to show a simple thank you message, then hide itself and the mask again.
I'm tired so not thinking straight, but can someone give me a hint on how I might do these?
Two questions:
1) I'd like to use the form on more than one page. Is there a way to set the redirect url to something like "previous page"?
2) On submit I'd like the modal div to show a simple thank you message, then hide itself and the mask again.
I'm tired so not thinking straight, but can someone give me a hint on how I might do these?