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

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..

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.

Similar Messages

  • Download to Excel Not working in Mozilla Firefox

    Hi Friends
    I have wriiten code for downloading data as a Excel file from a webdynpro application using the below methodology.
    ht[http://wiki.sdn.sap.com/wiki/display/WDABAP/Downloadafileintoexcelsheet|http://wiki.sdn.sap.com/wiki/display/WDABAP/Downloadafileintoexcelsheet]
    It works fine in Internet Explorer 7.0. Its not working in Mozilla Firefox 3.6. Our current SAP Version is ECC 6.0 EHP4 (NW7.01).
    Please provide some insight into the issue.
    Thanks a lot.
    Regards
    Rakesh

    Hi Rakesh
    Please check the browser compatibility in Product availability Matrix in service market place for your server version.
    Loging with SMP userid and password at http://service.sap.com/pam
    Best Regards
    Srinivas

  • Radio Buttons not working in Mozilla firefox

    Hi,
    I want one solution, i have done some enhancement in my application in which if we click on radio button(Yes) the corresponding fields(select list,shuttle fields will be shown) or else it will be hidden. My problem here is this works fine in IE but it does not work with Mozilla Firefox, can anybody please help me to sort my problem.
    Thanks,
    Dil
    Edited by: dil84 on Nov 18, 2009 2:29 AM

    Thanks for your interest. Here is a page where it does not work: http://foundation.zurb.com/docs/components/switch.html . Radio button is too small (only click on the top right corner can toggle the button).

  • Include file in jsp not working

    Hi ,
    I have an include file statement in my jsp file which is not working. Not getting any error message either only the page is displayed without the jsp file included.
    My include code looks like this :
    <%@ include file ="Includes/hello.jsp" %>Also i tried including an html file or an image in the same place neither of the two displayed.
    <!--#include virtual="includes/footer.html" -->
    My jsp file is hosted on IIS

    nb123 wrote:My jsp file is hosted on IIS
    Hi ,
    I have an include file statement in my jsp file which is not working. Not getting any error message either only the page is displayed without the jsp file included.
    My include code looks like this :
    <%@ include file ="Includes/hello.jsp" %>Also i tried including an html file or an image in the same place neither of the two displayed.
    <!--#include virtual="includes/footer.html" -->
    My jsp file is hosted on IIS
    Check the path you've specified. It may well be;
    <%@include file="hello.jsp" %>or
    <%@include file="/Includes/hello.jsp" %>

  • How to include external javascript file in an html

    hello
    i've an html file placed in apache/webapps/test folder this html file includes an external javascript file placed at same level
    i'm includind the file as
    <script src="file1.js"></script>but the file does not gets included
    but when the sam folder "test" is paste outside apache the html file including the external file runs properly.
    Thank You

    flounder wrote:
    cotton.m wrote:
    What's really pathetic is that this is your third cross post on this same stupid off topic topic.
    You are really a dumb f&#117;ck you know that?If they knew that they were a dumb f&#117;ck then they wouldn't be a dumb f&#117;ck!That's a logical and reasonable conclusion. Therefore I very much doubt that the OP is capable of it.
    Hmmm this is interesting. It now shows the entity escapes rather than their values when you quote.

  • Hyperlink to file in JSP not working

    I have a JSP page where I am providing a hyperlink to a file on the C: drive as follows
    Try this
    Nothing happens when I click this hyperlink.
    When I scroll over the hyperlink I see the correct path "file:///C:/ReqImport/data.txt" in the status bar and when paste this path in my address bar, it does open up the file.
    Any ideas why this file hyperlink does not work on this JSP page.
    Thanks

    Hmm, you're right, I just tried it and it doesn't appear to work. It looks like a security thing: If the original page is on my hard drive, links to other files on my hard drive work. But when the original page is on a web server, links to files on my hard drive don't appear to work.
    Do you realize that such a link is referring to a file on the C: drive of the client, the user, not the C: drive of the server? I'm not sure what you're up to, but for most applications such a link is pretty much useless, as you normally have no way of knowing what files the user has on his C: drive.

  • How to include external JavaScript files

    Hello All,
    i'm wondering haow can i include externel JavaScrip files, there is an clip-example with a function in the same JSP file
    but not how to include a file?
    <body>
    <script language='JavaScript' src="menu/menu.js'></script>
    If some one has a clip i would appreciate.
    Thanks
    Gino

    <script src="resources/myscript.js"></script>
    I did this exact thing in my jsp but it did not work, nothing popped up.
    When I tried replacing it with:
    <script language="JavaScript" type="text/javascript"><![CDATA[
    function postMessage(message) {
    alert(message);
    ]]></script>
    It worked. Can someone tell me why? Can't i refer to javascript files this way?

  • How to include external js file in jsp page??

    Hiii...i am new bie in jdeveloper....
    and trying to add external js file to a jsp page...
    the adress of javascript file is [ Web Content/WEB-INF/jsp/script/test.js ]
    adress of jsp page is [ Web Content/WEB-INF/jsp/WelcomePage.jsp ]
    so what source address of js file i have to give in jsp page.....

    Hi,
    In order for the jsp page to get the js file, it has to be accessible via an http request, and files in WEB-INF aren't. You'll have to put the js file in a different location or provide another way to get the file, such as via a servlet request.
    This is the way to do it. I don't see a use case in that adding a JS file to WEB-IF provids any benefit as the sources could be looked up from the browser anyway. So if your intention is to secure the JS sources, this wont work.
    Frank

  • Flash Player does NOT work with Mozilla Firefox

    I have Mozilla Firefox on my computer which uses Windows XP 32-bit and the flash player (newest version) simply does not work.  I have successfully followed ALL instructions for making it work but nothing has changed.  I have an .SWF file that I wish to open but I get the message that flash player is not installed on my computer but it is confirmed as installed.  I need it to work but I am not a computer whiz.

    Hi!  The Shockwave Flash plugin has be disenabled and re-enabled numerous times….
    I have Mozilla Firefox 22
    These are the files in my \Windows\system32\Macromedia\Flash file:
    flashInstall
    flashplayer.xpt
    FlashPlayerUpdateService
    Flashutil32_11_8_800_94_Plugin
    genuinst
    install
    KB923789
    mms.cfg
    NPSWF32_11_8_800_94.ddl
    plugin.vch
    I have already spent at least 8 hours trying to understand what to do with no change and as I said before I am not a computer whiz….
    Thanks for your help!
    Raney

  • Embed tag is not working with Mozilla Firefox 23, 24 and 25

    Requirement:
    While loading the java applet on a page, if the user system do not have plugin loaded then our code should redirect the user to get Java 1.6 plugin.
    At present I am using below two URL for automatically JRE6 download
    • IE : https://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,31<br />
    [When user tries to access the applet page from IE browser then he/she is getting pop-up message for JRE6 installation, provided that the user system don’t have any JRE installed]. This scenario is working IE8,9,10<br />
    • Mozilla family : https://javadl.sun.com/webapps/download/AutoDL?BundleId=60336
    Below is the used script for ‘Object’ and ‘embed’ tag:
    <pre><nowiki><script language="javascript" >
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="OrderApplet"';
    WIDTH = 775 HEIGHT = 600
    codebase="https:\/\/java.sun.com\/update\/1.6.0\/jinstall-6-windows-i586.cab">';
    <PARAM NAME = "type" VALUE="application\/x-java-applet;version=1.6.0_31">';
    <PARAM NAME = "scriptable" VALUE = "true" >';
    <COMMENT>';
    <EMBED type="application\/x-java-applet;version=1.6"
    pluginspage="https:\/\/javadl.sun.com\/webapps\/download\/AutoDL?BundleId=60336">
    <NOEMBED>
    <\/COMMENT>;
    <\/NOEMBED><\/EMBED>;
    <\/OBJECT>;
    </script></nowiki></pre>
    User is getting pop-up message for JRE6 installation with browser IE8, 9, and 10 and also with Mozilla Firefox 22, but it’s failing with latest version of Mozilla Firefox23,24 and 25.
    I have gone through so many sites but could find any reason for this behavior.
    I have provided JRE6 32-bit version download URL, here I don’t think so I’m doing any version incompatibility because both the JRE6 and Mozilla Firefox are 32-bit version. And 64 bit Firefox version is not available for windows.
    I’m not sure why the code is working with Firefox 22 and its lower version but
    doesn’t work with higher version than firefox22….like 23,24,25
    Can anyone help to sort out this issue?
    Thanks, <br />
    Sumit

    Sorry for the delay in getting an answer, yesterday was a holiday in the USA.
    This forum is for Firefox user support, not for web developer support. My rough guess is that since Mozilla has blocked all but the most recent update for Java 7 Plugins - https://addons.mozilla.org/en-US/firefox/blocked/ - and Firefox 23 brought in a new '''Simplified interface for notifications of plugin installation''' - http://www.mozilla.org/en-US/firefox/23.0/releasenotes/ - that is probably why you're having a problem with versions of Firefox after Firefox 22.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    ''You'll need to register and login to be able to post in that forum''.

  • Flash Object is not working in Mozilla firefox 3.6 and safari

    Hi All ,
    I am facing issue in Flash , my Flash application functionality is working fine in IE all versions and Chorme , but it is not
    working properly in mozilla Firefox and safari as well .
    The Problem is when i am using mousewheel scroll at the centre of the mouse to scroll down to the bottom of the page and again revisit some
    portion of flash the mouseOver functionality is getting lost and it is expecting a click to gain the focus .
    Can any body help me on this .
    please provide some suggestions on what need to be done to solve this issue
    regards,

    Hi, I don't know about the mouse issue, but go here and test :
    http://www.adobe.com/products/flash/about  Use your Firefox browser when you test, perhaps you need the plug-in. Whatever the
    test tells you to do, do it. Then check your websites and see if that works.
    Thanks,
    eidnolb

  • WMP plug-in does not working on Mozilla Firefox 4.0 on Win 7 as it was working on 3.6

    on Mozilla Firefox 3.6 the above mentioned plug in was working on Windows 7. After updating to Mozilla Firefox 4.0 the plug-in does not working so i cannot hear some web radio stations e.g. www.melodia.gr

    I solved this by turning off tamper protection in NAV 2010. The Firefox immedately updated. I understand virus scanners/anti spyware program like spybot and SpySweeper can interfere with updates. Also Comodo AV. It seems to me that nything that protects over all system setting is worth looking at.
    I am not an expert. Do not forget to turn back on anything turned off to allow update'''

  • I made a clickable image with download link on my FACEBOOK page, but its not working on Mozilla Firefox, while its working on other browser.. pls help!!

    im using Firefox 23.0.. i just used a simple HTML code on the download link.. but its not working on FIrefox..

    In what way is this button not working?
    Can you post the code that you use for this download button?
    Do you get this link if you right-click and choose "Inspect Element" to open the built-in inspector?
    *https://developer.mozilla.org/en/Tools/Page_Inspector

  • My upgraded version of mail with Windstream will not work with Mozilla Firefox. Why? Works find with the old Classic but not the new version

    It switches to the Classic view but not the new view which I really like.... My laptop has Google Chrome and it has not problems with this new view of Windstream only with Mozilla Firefox 5, the other version never had any problems either...I had 3 and had no problems till I up graded....

    The longer this thread continues, the more ancillary comments you throw in that aren't directly pertinent to your problem with your DVR software not working with Firefox 4.0. Sorry, I don't intend to continue with this discussion.
    I do agree that ''something'' needs to be done better with regards to plugins for Firefox, but I do disagree with you as to whose responsibility that ''something'' is.

  • Youtube Not working in Mozilla Firefox 30.0

    in youtube any video play for 1 Sec and Stop.
    black screen came and showing error

    Hello peerrj1034,
    Thank you for contacting Mozilla Support and testing the beta version of Firefox. Can you see if the browser has the same behavior under Safe mode? Please see the following article.
    [[Troubleshoot Firefox issues using Safe Mode]]
    Please let us know if Youtube works under safe mode.
    Cheers,
    Patrick

Maybe you are looking for

  • XCM(Extended Configuration Management) Read Only Access for Webshop

    Hi, We dont hav e XCM admin access in our project.We need to have just the view(read only) access.This will help us immensly during any troubleshooting. Plus we will save a lot of time while troubleshooting if the view access is avaialable to us. In

  • Is There An Easier Way To Do This?

    Hi There. This is a repeat of a previous thread, but I fear that I worded my initial question badly and caused confusion. Here is what's happened: I burned 15 music cd's of 300 songs that I purchased through iTunes using the 'Purchased' list in the l

  • How do I undo a Time Machine External Hard Drive?

    Hello, I have an old external that was the time machine for an iMac I no longer have.  I am deleting all the data from the drive and would like it to be just a regular external once again.  Everytime I plug it into my new mac it shows up as time mach

  • Line item display_p

    when i am executing GL line itemes for clearing account , purchase documen column is not getting updated . It does not contains any po number.

  • IMessage sign in problem

    I am not not able to sign in iMessage as well as FaceTime,,,my iPod touch4 always says "could no sign in.Please check your network connection and try again" guys please help me out ,,,thank you!!