JAllbon
10-21-2003, 10:24 AM
Hi -I'm very new to all ASP and Javascript, so forgive me if I've put this question in the wrong forum.
I have a bit of ASP code that does a response.write offering a link. The location of the link is determined by a value from a database. I am appending the link with the database's Primary Key in the form
<a href='TestPage.asp?ID=" & IndexID & "> &PageName & "</a>"
There are other variables passed from this link as well.
All very well and good, but I have some JavaScript that opens the window in another window withouth scrollbars etc. This is called through an onClick("../PathToPage.asp"); However, when I try using ASP to write Javascript, strange things happen. The variables seem to be passed across in the querystring, but as one entire string, rather than individual variables and their individual components/values are not accessible.
Any ideas as to where I go from here would be much appreciated.
Thanks in advance.
Jon.
I have a bit of ASP code that does a response.write offering a link. The location of the link is determined by a value from a database. I am appending the link with the database's Primary Key in the form
<a href='TestPage.asp?ID=" & IndexID & "> &PageName & "</a>"
There are other variables passed from this link as well.
All very well and good, but I have some JavaScript that opens the window in another window withouth scrollbars etc. This is called through an onClick("../PathToPage.asp"); However, when I try using ASP to write Javascript, strange things happen. The variables seem to be passed across in the querystring, but as one entire string, rather than individual variables and their individual components/values are not accessible.
Any ideas as to where I go from here would be much appreciated.
Thanks in advance.
Jon.