Hi guys
I am using a jquery thickbox script (http://jquery.com/demo/thickbox/ - iframed content example) to display information in a popup(modal) in the middle of my page. To do this I simply use the following hyperlink in my main page:
<a href="mypage.as p?name=thickbox &keepThis=true& TB_if rame=true&heigh t=550&width=750 " title="More info" class="thickbox ">Open window for more info</a>
This will open a window in the middle of my page with the dimensions of 550x750 and within it load a page called (mypage.asp". This works just fine.
However, I now want to do the same thing but instead of using a simple hyperlink I want to post form data from my main page into my thickbox modal window. It's a very basic form and looks like this:
Is it possible to submit the form data from my main page into the thickbox modal window? If so, how would this be done? Any help would be fully appreciated
Best regards
Rod from the UK
I am using a jquery thickbox script (http://jquery.com/demo/thickbox/ - iframed content example) to display information in a popup(modal) in the middle of my page. To do this I simply use the following hyperlink in my main page:
<a href="mypage.as p?name=thickbox &keepThis=true& TB_if rame=true&heigh t=550&width=750 " title="More info" class="thickbox ">Open window for more info</a>
This will open a window in the middle of my page with the dimensions of 550x750 and within it load a page called (mypage.asp". This works just fine.
However, I now want to do the same thing but instead of using a simple hyperlink I want to post form data from my main page into my thickbox modal window. It's a very basic form and looks like this:
Code:
<form name=myform method=post action=mypage.asp> <input type="text" name="fullname" size="20"> <input type="text" name="emailaddress" size="20"> <input type="submit"> <input type="hidden" name="key" value="234fdw8"> </form>
Best regards
Rod from the UK
Comment