Calling Javascript from ASP

Results 1 to 3 of 3

Thread: Calling Javascript from ASP

  1. #1
    Join Date
    Dec 1969

    Default Calling Javascript from ASP

    This should be a simple question. How do you call a javascript function from Visual Basic or HTML? I have a javascript function called getAnswers that is called by using the onClick event from a submit button. But, how could I call the function through normal execution of the page in Visual Basic script or HTML?<BR><BR>Thanks,<BR>Phatty

  2. #2
    Join Date
    Dec 1969

    Default Use the onLoad event..

    .. of the Body to call it.<BR><BR>Otherwise, ASP can&#039;t directly call JavaScript.

  3. #3
    Join Date
    Dec 1969

    Default RE: Calling Javascript from ASP

    i believe that just putting it in some script tags will work though i have not actualy had an ocasion to do it myself and it by the way refers to the function

Posting Permissions

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