Sign in or 

|
bbondi |
What if I'd like the iframe to work with a <form> Submit?
Dec 28 2009, 4:27 PM EST
I'm using a form to open a 3rd party site which is selling my artwork.Since, I'm paying for this service, I decided I'd like to have the page displayed embeded in my page, rather than having a visitor leave my site and be on the 3rd party site. (I'm trying to be clear) My FORM code: <FORM id="ifr" ACTION="http://fineartamerica.com/featured/1-pink-opulence-janet-bondi.html"> <input name="submit" type="submit" value="Purchase Options"/> </FORM> the IFRAME code: <iframe frameborder="0" scrolling="no" name="ifr" src="http://fineartamerica.com/featured/1-pink-opulence-janet-bondi.html" width="100%" height="2200"> </iframe> Each works in a page by themselves, but I can not figure how to combine them so when the Submit button is clicked the iframe is displayed. So that would be: button then iframe page below that button Please, any clues, tips, pointers, snippets or kind words of encouragement are appreciated. Thanks in advance! 5 out of 5 found this valuable. Do you? |