HighDots Forums  

Re: passing javascript variable into asp variable using vbscript

Javascript JavaScript language (comp.lang.javascript)


Discuss Re: passing javascript variable into asp variable using vbscript in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonas Daunoravicius
 
Posts: n/a

Default Re: passing javascript variable into asp variable using vbscript - 07-02-2003 , 08:47 AM






I had actually figured out using what you Richard and John mentioned
yesterday late afternoon. You know how it is when you work on something
for hours and hours and then all of a sudden you just get it to work!
What you guys said makes sense though and my problem was that I didn't
know you could do all of that just in vbscript. It even ends up being
cleaner also. All I ended up doing, just like you guys said is:

<a href=""tier2.asp?prod=" & i & """>" & i & "</a>
where i is a vbscript variable from a database

and then in the next page:
the_name = request.querystring("prod")

prod has %20 for spaces and the_name just has spaces. It is exactly
what I was looking for.

Thanks guys for you input.

- Jonas

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.