How to return a variable from javaScript to the visual basic?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Florin

    How to return a variable from javaScript to the visual basic?

    Hi,
    How to return a variable from javaScript to the visual basic?
    The script is loaded into the webbrowser control as a html page.
    THX
  • Hal Rosser

    #2
    Re: How to return a variable from javaScript to the visual basic?

    Have javascript put the variable into a hidden form field - then it will be
    available to the asp page you submit to.
    remember - javascript runs on the user's machine (i assume you're not using
    javascript for server-side ASP)-
    and the vb (I assume ASP) runs on the server.

    "Florin" <florinp@mccowa n.ca> wrote in message
    news:29264388.0 408211551.f8aa4 02@posting.goog le.com...[color=blue]
    > Hi,
    > How to return a variable from javaScript to the visual basic?
    > The script is loaded into the webbrowser control as a html page.
    > THX[/color]


    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.732 / Virus Database: 486 - Release Date: 7/29/2004


    Comment

    Working...