[Javascript] js file soemtimes not executing
Jessica
Jessica at greenlight.co.uk
Wed Dec 1 10:27:56 CST 2004
Hi,
Hope u can assist me in my problem that needs to be resolved asap.
On button click I call the following :
<script type="text/javascript">
function srcLd()
{
var scr_tg=document.getElementById('scr2');
scr_tg.src="Ninja.js";
}
</script>
<a id="btn" onclick="srcLd()"
href="JavaScript:BringUpBigWindow('ButtonClick.aspx?brand=quotea&ref
errer=')">
<img src="" alt="car test" name="test" width="105" height="95"
border="0"></a>
<script id="scr2" type="text/javascript" src="">;</script>
All Ninja.js has is just an alert statement. This is a really strange
but sometimes on button click I get the alert statement and sometimes
not.
Can u see what the problem is, I even deleted the item from the cache.
Thankyou in advance
jessica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20041201/9656e579/attachment.htm>
More information about the Javascript
mailing list