I'm trying to pass a querystring to a page.
The pID is passed into my page and get's caught using
<% pID = Request.QueryString("pID") %>
then I try to call the next page using this code
<script language="javascript" type="text/javascript">
<!--
function popupHA()
{ window.open("HA.asp?PropID=<%=pID%>");}
-->
</script>
and the page loads fine but the pID hasn't been passed along.
The only indication I've got that anything is wrong is that Interdev doesn't highlight the <% & %> markers in yellow in the script block but if I copy <%=pID%> outside the script block it does
I've used the code before and it worked fine
There's a Janus grid on the page which might be causing problems but I've no idea how
thanks
The pID is passed into my page and get's caught using
<% pID = Request.QueryString("pID") %>
then I try to call the next page using this code
<script language="javascript" type="text/javascript">
<!--
function popupHA()
{ window.open("HA.asp?PropID=<%=pID%>");}
-->
</script>
and the page loads fine but the pID hasn't been passed along.
The only indication I've got that anything is wrong is that Interdev doesn't highlight the <% & %> markers in yellow in the script block but if I copy <%=pID%> outside the script block it does
I've used the code before and it worked fine
There's a Janus grid on the page which might be causing problems but I've no idea how
thanks