Location: Example HTML IFRAME Embed

Discussion: What if I'd like the iframe to work with a
Submit?Reported This is a featured thread

Showing 1 post
bbondi
bbondi
What if I'd like the iframe to work with a <form> Submit?
Dec 28 2009, 4:27 PM EST | Post edited: 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?    
Keyword tags: iframe (edit keyword tags)

Be the first to reply.

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)