Results 1 to 2 of 2

Thread: Having problem with iframe

  1. #1
    Join Date
    Aug 2013
    Thanked 0 Times in 0 Posts

    Default Having problem with iframe


    Can someone tell me how to open this code in a iframe?

    <form name="process" id="process" method="POST" enctype="multipart/form-data" action="" >
     <input type="hidden" name="script_id" value="64"/>
    When i upload a file and it redirects from to

    All i want it to open in iframe (so i can add a button "Back" in header of the iframe.

    Thank you!!!

  2. #2
    Join Date
    Mar 2005
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries


    If I understand what your asking, the answer is either to put the form on a separate page (call it - say, form.html, or form.php) on the external domain, then on the mysite domain page where you want it to appear put:

    <iframe src="" width=400 height=300></iframe>
    Or you can still host the form on the mysite domain page, and target it to an iframe on that page:

    <form method="post" action="" target="resultframe">
    rest of the form here . . .
    <iframe name="resultframe" src="about:blank" width=400 height=300></iframe>
    However, I'm not so sure what of value you will get with a back button. It can only take you back one or more pages in the history stack. If going back just one page after submission, in the first case that would take you back to the form where it could be resubmitted, which could result in a duplicate submission. In the second case, back to the blank page in the iframe.
    - John

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. iframe problem
    By alienbdit in forum HTML
    Replies: 7
    Last Post: 09-09-2011, 06:26 PM
  2. CSS problem with IFRAME
    By Archange in forum CSS
    Replies: 1
    Last Post: 04-15-2009, 04:07 PM
  3. Iframe problem in FF & IE
    By techunar in forum HTML
    Replies: 2
    Last Post: 07-16-2006, 12:51 PM
  4. Firefox Random Iframe & Iframe SSI II problem
    By corbinb2 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-06-2006, 04:27 PM
  5. Iframe problem.
    By sunny in forum HTML
    Replies: 2
    Last Post: 04-17-2005, 10:27 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts