Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing values

Status
Not open for further replies.

parames

MIS
Jun 26, 2000
71
MY
How to pass values between javascript to vbscript.
i'm using javascript but inbetween this javascript i'm using vbscript to access data from database and then pass the values back again to javascript.
is it possible..please guide me..

please help
iswa
 
you can call functions from JScript and VBScript seamlessly. just call the function as you normally would:

<script Language=VBScript>
Sub dickley(tmo)
tmo=tmo & &quot;---fut&quot;
msgbox(tmo)
end sub
</script>

<script Language=JScript>
var x='jazz'
dickley(x)
</script>

be careful when using arrays though, you need to use an object call VBArray (i think) when accessing vbs arrays from jscript jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top