Passing server side varialbe to vbscript on the cl

Results 1 to 2 of 2

Thread: Passing server side varialbe to vbscript on the cl

  1. #1
    Chad Tanner Guest

    Default Passing server side varialbe to vbscript on the cl

    In my server side scripting I made a variable MyString = Blah, Blah, Blah. <BR><BR>If I take this variable and put it into the HTML like this:<BR>&#060;Script langauge = vbscript&#062;<BR>data = &#060;%= MyString %&#062;<BR>&#060;/Script&#062;<BR>Should this work?<BR>To see if it works, I am trying to get the variable that is passed to show up in a message box when a button is pushed.<BR>Does all this client side scripting go inside the header tags?<BR>Any suggestions? Thanks

  2. #2
    Join Date
    Dec 1969
    Posts
    135

    Default RE: Passing server side varialbe to vbscript on th

    The code should be right. It is not necesary for the client code to be in header tags. The code is put out at client , unless RUNAT= server is specified

Posting Permissions

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