you can use a global variable like this.
<script language="vbscript">
Dim stuff 'this declares a
variable called "stuff" thats empty
Sub doStuff 'this will make the
variable "stuff" contain "this is stuff" if called
stuff = "this is stuff"
End Sub
</script>
<script language="JavaScript">
function whatIsStuff()
{
document.form.textbox.value = stuff; //this java script will put the
value from
//the variable
set up in VB in a text box
Quote:
}
</script>
All you have to do is set the variable up outside a subroutine or function.
That way any thing in the page has access to it.
William Wallace
Quote:
> I am using an asp page with vbscript and jscript. how can I pass values
> between the scripts?