Log in

View Full Version : Problem in submitting form to a frame



kdthakur
11-12-2007, 11:55 PM
hey please anybody help me here,
i have a form >>>>>>>>>


<form method="post" action="kdthakur.html" target="domains">
<input type="hidden" name="action" value="checkdom" />
<input type="hidden" name="ord_referred_by" value="" />
<input type="hidden" name="ord_prod_id" value="0" />
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="52%" align="center"><strong>Domain Name</strong></td>
<td width="32%" align="center"><strong>Extension</strong></td>
<td width="16%" align="center">&nbsp;</td>
</tr>
<tr>
<td align="right" valign="middle"><input name="ord_domain" onchange="return OnChangeField1();" type="text" value="" size="20" maxlength="58" />
</td>
<td align="center" valign="middle"><select name="type" value="com">
<option value="cc">&nbsp;&nbsp;.cc</option>
<option value="co.in">&nbsp;&nbsp;.co.in</option>
<option value="com" selected="selected">&nbsp;&nbsp;.com</option>
<option value="firm.in">&nbsp;&nbsp;.firm.in</option>
<option value="gen.in">&nbsp;&nbsp;.gen.in</option>
<option value="in">&nbsp;&nbsp;.in</option>
<option value="ind.in">&nbsp;&nbsp;.ind.in</option>
<option value="info">&nbsp;&nbsp;.info</option>
<option value="mn">&nbsp;&nbsp;.mn</option>
<option value="mn">&nbsp;&nbsp;.mn</option>
<option value="mobi">&nbsp;&nbsp;.mobi</option>
<option value="name">&nbsp;&nbsp;.name</option>
<option value="net">&nbsp;&nbsp;.net</option>
<option value="net.in">&nbsp;&nbsp;.net.in</option>
<option value="org">&nbsp;&nbsp;.org</option>
<option value="org.in">&nbsp;&nbsp;.org.in</option>
<option value="tv">&nbsp;&nbsp;.tv</option>
<option value="ws">&nbsp;&nbsp;.ws</option>
</select></td>
<td align="center" valign="top"><input name="Go"
style="BACKGROUND-COLOR: #ffcc00; BORDER-BOTTOM-STYLE: outset; BORDER-LEFT-STYLE: outset; BORDER-RIGHT-STYLE: outset; BORDER-TOP-STYLE: outset; COLOR: #0066CC; FONT-FAMILY: verdana; FONT-SIZE: 8pt"
type="submit" value="Go" /></td>
</tr>
</table>
</form>
i have another page:


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<IFRAME name="domains" src="http://hostingwebdesigns.com/hosting_packeges/mod.php?mod=whois" height="600" width="800"></IFRAME>
</body>
</html>
and now prob. is that when i submit the form keeping the target "http://hostingwebdesigns.com/hosting_packeges/mod.php?mod=whois" then i get result of form quary.but how to get the same result when i submit the same form to a page (page format is given above )which contain i frame src=http://hostingwebdesigns.com/hosting_packeges/mod.php?mod=whois.

please help. thanks.

No need for urgent. People will respond the question quicker if it's not.