View Full Version : calling external JS files FROM AN ASPX OR ASPX.VB PAGE

10-16-2003, 06:42 PM
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

10-16-2003, 07:07 PM
myButton.Attributes.Add("onclick", "yourJavascriptFunction()")

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum