aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes passing value from vbscript to javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "passing value from vbscript to javascript" Watch "passing value from vbscript to javascript" New topic
Author

passing value from vbscript to javascript

Zye Valfzaurk
Ranch Hand

Joined: Jun 07, 2011
Posts: 35
Good day to all.

I just want to ask if there is a way to pass variable values from vbscript to javascript or calling a vbscript function using javascript.
I know that vbscript is server side and javascript is clientside. Is there any way for them to communicate?

Basically this is what I want to do.
I want to get values from a table in my SQL server using vbscript, and then use these retrieved values as select options using javascript. I just want to ask if this possible, and please teach me how if it is.

Any response would be greatly appreciated. Thanks.


If I stare at something, it doesn't necessarily mean that it is beautiful..... because most of the time, I stare to see how ugly it truly is....
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Make a backend, call it with Ajax.

Eric
Zye Valfzaurk
Ranch Hand

Joined: Jun 07, 2011
Posts: 35
Is it not possible to do it using VBscript and javascript alone?..... I mean without using ajax,php,etc....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing value from vbscript to javascript