PDA

View Full Version : passing a variable to another page.


philea_92
03-24-2005, 05:42 AM
I got frontpage to list the contents of a database. I have linked one column (RequestID) to a confirm.asp page. I would like to pass the value of the RequestID to the confirm.asp page, so that I may be able to search the database for that instance of requestID and eventually set a value to true.

I would like to uses the javascript newWindow() function to call the confirm.asp page. I am having trouble in passwind the variable to the confirm.asp page.

function newWindow(){
confirmWindow = window.open("confirm_testing.asp", "confirmWindow", "width=330,height=250")}
</script>

<a href="javascript:newWindow('=<%FP_FieldVal%>')">

********* table information ***********

and the variable RequestID is assigned here.
FP_FieldVal(fp_rs,"RequestID")%>
</a>