OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Javascript request.querystring

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Javascript request.querystring
Page: [1]
 
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: 6187
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 >


_____________________________




(in reply to BenMax)
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.

(in reply to BenMax)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Javascript request.querystring
Page: [1]
Jump to: 1





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