Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Brighton, UK
    Thanked 0 Times in 0 Posts

    calling external JS files FROM AN ASPX OR ASPX.VB PAGE

    hello, I have another question .... I am slowly trying to get to grips with the way things function...

    mY PROBLEM... I am trying to call a Javascript script function from a aspx page or aspx.vb page.. FROM AN EXTERNAL javascript JS page... I have tried but it always seem to fail and I am not to sure why....

    I have a script that function from the aspx.vb page.. which is

    DO while then loop as soon as this script has finished, it makes one image visable... but I am trying to make this image fade in using javascript... doing it the old way was easy, but I am baffled how to do it using DOTnet..

    all i need to know is how to call a function from my aspx page or aspx.vb onClick AND THEN ASIGN the image an id and say to it fade... if anyone can help.. I would ever so greatful.. i

    If you can help only with calling a function I would be happy..

    this is that way I am trying
    <script LANGUAGE="JavaScript" SRC="JScript.js"></script>

    ???????? hmmmmmmm

    then it goes wrong....

    thanks ... chris

  • #2
    Regular Coder
    Join Date
    Dec 2002
    Thanked 0 Times in 0 Posts


    myButton.Attributes.Add("onclick", "yourJavascriptFunction()")


    Posting Permissions

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