CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Small projects (quick fixes and changes) (http://www.codingforums.com/forumdisplay.php?f=56)
-   -   submit data to iframe on a different page (http://www.codingforums.com/showthread.php?t=269594)

tittbit 08-05-2012 11:56 AM

submit data to iframe on a different page
 
1) Project Details: (be as specific as possible):
I
Have a form that submit 10 digit no. to a different site.
here is the form
Code:

<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">
<tr>
<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>
</tr>
<tr>
<td align="center" valign="top">
<input type="submit" name="submitpnr" value="Get PNR Status" />
            </td>
</tr>
</table>
</form>

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
http://www.irctcrailway.in/test

Some one plz help me

Thanks

MOHAMMAD arshad

Chrisomator 08-21-2012 04:31 PM

If you still need someone, i could do this for you.

Skype: chrisomator

Greetz


All times are GMT +1. The time now is 02:50 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.