View Full Version : submit data to iframe on a different page

08-05-2012, 11:56 AM
1) Project Details: (be as specific as possible):
Have a form that submit 10 digit no. to a different site.
here is the form

<form name="pnrForm" method="post" action="http://www.indianrail.gov.in/cgi_bin/inet_pnrstat_cgi.cgi" target="_blank">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td align="center" valign="top">
<input name="lccp_pnrno1" type="text" style="font-size:20pt;font-weight: bold;border: 2px solid #1569C7;margin-bottom: 10px" size="20" maxlength="10" alt="PNR First Field" /></td>
<td align="center" valign="top">
<input type="submit" name="submitpnr" value="Get PNR Status" />
I want that the remote site with result should open on a new page of my site within iframe.

I tried my self by making action to the new page name of my site and making target as iframe id but it didnt work, i think it needs some java or php.

well you can check the live form at http://www.irctcrailway.in
the work i tested but didnt work

Some one plz help me



08-21-2012, 04:31 PM
If you still need someone, i could do this for you.

Skype: chrisomator


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum