Hi,
I am trying to pass data to a popup window. The javascript that creates the popup is this:
and I would like to create a link like this:Code:<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=500,left = 362,top = 134');"); } // End --> </script>
I would like to grab the intID variable with request.queystring in popup.asp, but I must be constructing the string wrong, maybe concatenating it wrong. I know vb/vbscript and not really javascript. Could someone help?Code:<% response.write("<A HREF='javascript:popUp('popup.asp?ID='" & intID & ")'>Edit</A>") %>
Thanks a bunch-
Nick


Reply With Quote