Hello DP. Can anyone tell me how can i open somesite.com/process in iframe (in my domain). Here is the code: <form name="process" id="process" method="POST" enctype="multipart/form-data" action="http://www.somesite.com/process" > <input type="hidden" name="script_id" value="64"/> Code (markup): When i upload a file and it redirects from my domain .com to somesite .com/process All i want it to open somesite . com/process in i frame. Thank you!!!
Is the form in the iFrame too? That's really the answer -- put the form in the frame so it's targeting itself. Though this is 2013, NOT 1997, so why are you using iFrames given what a complete accessibility turd they are?
Here is an example ... <iframe name="myframe" id="frame1"></iframe> <form action="http://www.somesite.com/process" method="post" target="myframe"> <input type="submit" name="DoIt" value="DoIt"> </form> HTML: The target attribute is used with frames to specify the frame in which the form response should be rendered. If no frame with such a name exists, the response is rendered in a new window unless overridden by the user. Hope it help