Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Request.Form has no value after setting a hidden field

Status
Not open for further replies.

briancostea

Programmer
Apr 21, 2005
82
US
The alert boxes produce the correct output, but the Response.Write Request.Form("exp") statement produces no output. Any ideas would be greatly appreciated. Thanks in advance.

%>
<form name=shw>
<INPUT TYPE=HIDDEN NAME=exp id=exp>
</form>
<script language="JavaScript">
alert(parent.left.document.frmDisp.lstExperts.value);
document.shw.exp.value =
parent.left.document.frmDisp.lstExperts.value;
alert(document.shw.exp.value);
</script>
<%
Response.Write (Request.Form("exp"))
 
onchange call function that contains a

Code:
window.location.href= "[URL unfurl="true"]http://www.hlbcomm.com/NewWebsite/portfolio/port.asp?q=whatever";[/URL]
 
That won't work. It will just submit the same page over and over - I will never be able to show the results of the serach in the right frame. Besides, I will still have the same problem of trying to get a value from the parent frame.
 
but your talking about transfering form values without submitting thats "client-side"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top