Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Learn More

Including external Javascript file in JSP- not working on Mozilla Firefox

  • 2 wótegronje
  • 1 ma toś ten problem
  • 5 naglědow
  • Slědne wótegrono wót the-edmeister

more options

I have a JSP page which includes javascript file as below:

<script type="text/javascript" src="https://siteAddress/scripts/myJsFile.js"></script>

myJsFile.js has a method testFireFox()

There is a link on JSP which that calls this method.

 <a href="#" onClick="testFireFox()">Some Text...</a> 

As soon as i click on the link, nothing happens and this error appears on console:

Refrence Error: testFirefox() is not definedI tried giving the path for JS file in various ways but it did not help.

Note: This works absolutely fine in Internet Explorer.

I have not added Javascript to document.ready or onLoad event. It is simply been referred in <Head>

tag any pointers pls..
I have a JSP page which includes javascript file as below: <script type="text/javascript" src="https://siteAddress/scripts/myJsFile.js"></script> myJsFile.js has a method testFireFox() There is a link on JSP which that calls this method. <a href="#" onClick="testFireFox()">Some Text...</a> As soon as i click on the link, nothing happens and this error appears on console: Refrence Error: testFirefox() is not definedI tried giving the path for JS file in various ways but it did not help. Note: This works absolutely fine in Internet Explorer. I have not added Javascript to document.ready or onLoad event. It is simply been referred in <Head> tag any pointers pls..

Wšykne wótegrona (2)

more options

I'am using FireFox 31.0

more options

This forum is intended for user support, not for web development issues. Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The contributors over there are more knowledgeable about web page development issues with Firefox. http://forums.mozillazine.org/viewforum.php?f=25 You'll need to register and login to be able to post in that forum.