|
| |
|
|
BenMax
Posts: 31 Joined: 1/3/2003 Status: offline
|
Javascript request.querystring - 10/25/2004 11:14:50
I need to make an entire table cell a link so I used this code: onclick="JavaScript:window.location.assign('bank.asp?bank=');" The bank= section needs to get a number from the url. Does anyone know how I can add a request.querystring("banknumber") from the url to this link above? Thanks!
|
|
|
|
Giomanach
Posts: 6090 Joined: 11/19/2003 From: England Status: offline
|
RE: Javascript request.querystring - 10/25/2004 11:25:20
Needs a bit more thought than just throwing Request.Querystring in... <% strBankNumber=if Request.Querystring("banknumber) = "XXX" then 'Coding for the specific Bank Number etc End if%> onclick="JavaScript:window.location.assign('bank.asp?bank=<%=strBankName%>');" If I'm wrong someone will say so... HTH
< Message edited by Giomanach -- 10/25/2004 11:33:43 >
_____________________________
|
|
|
|
BenMax
Posts: 31 Joined: 1/3/2003 Status: offline
|
RE: Javascript request.querystring - 10/25/2004 11:38:01
Thanks very much Gio, that was all I needed to know, it works great now.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|