asp insdie vbscript sub

Results 1 to 2 of 2

Thread: asp insdie vbscript sub

  1. #1
    GripThor Guest

    Default asp insdie vbscript sub

    Coud someone tell me how to get this to work I have a script that looks like this (just a demo)<BR><BR>&#060;script language=vbscript&#062;<BR> Some Code Here<BR><BR>sub bigButton_Onclick<BR> Stuff Here<BR>&#060;%<BR><BR> ASP CRUD<BR>finalVar = 39<BR><BR>%&#062;<BR><BR>someVar = finalVar &#039;I can&#039;t get this var to work<BR><BR>end sub<BR>&#060;/script&#062;<BR><BR>I know the varaible works aslong as its in the asp statment but I can&#039;t get it to show up once its back to the vbscript. Anyone know?<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: asp insdie vbscript sub

    In your ASP, write out the contents of that variable. Example:<BR><BR>&#060;%<BR><BR>ASP CRUD<BR>finalVar = 39<BR><BR>Response.Write("finalVar = 39")<BR><BR>%&#062;<BR><BR>Now the ASP variable is available to the cliend side script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts