954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Using Client(JS) to get Server(VBS) value.

I have an ASP page that uses VB to make the url that would be used on a page. I also have a Javascript function that when activated would change a form around. Now what I want to do is using JS when an image is clicked to get the url that the VB made to a JS function. My problem is that the url is saved through the use of a variable(url2), Im having problems passing that variable into the JS function. If any one knows how to do this it would be greatly apreciated.

edouard89
Junior Poster in Training
53 posts since Feb 2007
Reputation Points: 10
Solved Threads: 2
 

Result (call vbscript function): <%call vbproc(3,4)%>

Result (call javscript function): <%call jsproc(3,4)%>

kokkee
Newbie Poster
20 posts since May 2007
Reputation Points: 10
Solved Threads: 2
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You