Java script not working in firefox browser

hi,
I created my application in struts and it was running perfectly in Internet explorer. My application is a public facing application so now i am in need to run the application in Firefox and safari browsers.
While running the application in those browsers i am facing the problem in javascript.
function change() {
          if(document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex==0){
               document.usedCarSearchForm.command.value="executeLoad";
               document.usedCarSearchForm.submit();
          }else {
               document.usedCarSearchForm('usedCarSearchDto.block').value=document.usedCarSearchForm ('usedCarSearchDto.blockCode').options[document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex].text;
               document.usedCarSearchForm.command.value="executePrefectureLoad";
               document.usedCarSearchForm.submit();
    }I am calling this onchange() function,
document.usedCarSearchForm('usedCarSearchDto.blockCode').selectedIndex
this line is not working
Help me to resolve this issue.
Thanks in advance.

Hi,
Atlast i found the solution. Its very small change, I changed document.usedCarSearchForm ('usedCarSearchDto.blockCode'). To
document.usedCarSearchForm ['usedCarSearchDto.blockCode'].
Now its working.
I hope this will be useful.
Thanks.

Similar Messages

  • Twitter is not working on firefox browser at all we need help

    twitter is not working on firefox browser at all there is no help i found for this issue anyone find one please tell me
    thanks

    Hello boodymostafa,
    The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information.
    To Refresh Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
    #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you,
    Curtis

  • Java is not working with Firefox (but is working with Safari)

    My computer is showing that Java is not enabled via Firefox. When I try to go into Tools/Add-ons, I see that there is no Java plug-in on that list (though I previously had no problem with Java). When I run software update on my Mac, it tells me my software is all up to date. Not sure what else to do. Java is working in Safari, so the problem is clearly with Firefox. I've tried disabling all my plug-ins, and clearing my cache. Nothing has helped.

    Apple has removed support for the Java Plugin2 with the latest Java Update 10 for OS X 10.5 Java version, so the Java plugin is no longer available for Firefox versions and other browsers like Google Chrome that require the Java Plugin2.
    There will be fix for this in Firefox 6 or in Firefox 5.0.1 if that version will be released, so that Firefox will find the plugin again.
    I don't know if all Java applets will still be working on OS X 10.5 with this fix (Apple recommends updating to OS X 10.6).
    * [/questions/844734]
    * [/forums/contributors/707078]

  • Java Plugin not working with firefox 3.o.13  and linux.

    this is my ln -s to the plugin at /usr/lib/mozilla/plugins
    libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Any ideas why java is not working?
    Here's the ln -s again:
    #pwd
    #/usr/lib/mozilla/plugins
    # ls -l
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    Here are my java stats:
    # java -version
    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
    Firefox 3.0.13:
    Mozilla/5.0 (X11; U; Linux i686;
    Gentoo Linux:
    # uname -a
    Linux tma 2.6.30-gentoo-r5 #10 SMP Sun Sep 20 21:52:19 PDT 2009 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
    I installed java from a jdk*.sh file and set the class path in /etc/bash/bashrc (not that it matters.
    The appletviewer does work.

    solved: I knew you all knew I could figure this out.
    #cp -R /usr/lib/mozilla/plugin/ /usr/lib/firefox-mozilla/
    asuming this is true:
    tma plugins # pwd
    /usr/lib/mozilla/plugins
    tma plugins # ls -l
    total 4
    lrwxrwxrwx 1 root root 63 Sep 28 20:41 libjavaplugin_oji.so -> /usr/local/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so
    tma plugins #

  • Forms Web application is not working on FireFox Browser-with java plugin

    Hi All,
    We are running custom build forms application using forms 10g and application server 10 g Rel 2. We are using Java Plug-in 1.5.0_06. The application is working fine before recent update from firefox .Now it's not working and keep on asking additional plug in required and taking to java.sun.com for installing the plug in. Even after installing when we access the application it will do the same thing. I tried uninstalling the firefox with the older version and with diffrent java plugin versions.. but the problem still there.. any help will be mush appriciated...
    Thanks...
    Edited by: rkadaru on May 5, 2010 1:57 PM

    plugin and webstart are not yet available in 64bit jre distributions from Sun.
    These are targeted to 6u12 or there abouts.
    /Andy

  • Java Viewer not Working in Firefox

    I'm running CR 11 R2 SP5 and the Java viewer works in Chrome and Safari but not in Firefox. I'm running Firefox v3.5.2. No error messages just a blank Grey screen.
    Any ideas?
    Thanks,
    Rich

    Try enabling Java Scripts in Firefox, I believe by default it is disabled

  • In Oats Drag and Drop Api is not working in Firefox Browser

    To Write OAts test for Drag and Drop functionality
    we are using "dragTo" API.
    Ex :
    web.image("/web:window[@index='0' or @title='Fusion Applications']/web:document[@index='0' or @name='aqizmnwha_1']/web:img[@absoluteLocator='" + sourceIndex + "']")
                     .dragTo("/web:window[@index='0' or @title='Fusion Applications']/web:document[@index='0' or @name='aqizmnwha_1']/web:img[@absoluteLocator='" + targetIndex + "']");
    This Api is not working in firfox.(works in IE browser).
    Is there any other way we can test DnD functionality in firefox and IE?
    Thanks in Advance!
    Thanks,
    Siddi

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Why would the Java Plugin not work in Firefox 5 on Mac SnowLeopard? I have the most recent version but am unable to use any Java features on Firefox 5. Firefox 3.6 works with the same Java but 5 will not.

    Most recent version of Java and firefox. Java Applications will start to load but end up in an infinite loading loop.

    Well, it's what I did to get my Java working in Firefox 4. I installed both binaries into my Library/Internet Plug-ins folder. The version was newer that what was previously installed (newer version is 0.9.7.5). It solved the Java problems I was having. My inital problem was that Java would not initiate and no applets would run in Firefox version 4 which I just installed a few days ago.
    I know the readme.txt. says it is not compatible with version 4, but the release date on 0.9.7.5 is after the release date of Firefox 4 and so that was I tried it. I figure there was nothing to lose as at worst it woud update my two plug-in files. Nothing was going to be changed otherwise. If you try it, it might work.

  • Java script not working in 1 pdf, but same script is NOT working in other

    Dear Experts,
    I have a problem with java script.
    I have created 2 PDFs with the same Form name and sub form names.
    I have written a javascript and this script seems to be working in one (Demand2.pdf) and NOT working in the other (Sample.pdf).
    The link for Demand2.pdf is
    https://acrobat.com/#d=XIydWx1RIU4oNdTySHtHfg
    and the link for sample.pdf is
    https://acrobat.com/#d=sKPRs2dtDY57RSvMVtnh3w
    Can you please guide me on this.
    Many Thanks
    BookFans

    Hi,
    The second file (Sample.pdf) is saved as Static. The script is changing the visual appearance of the form (showing and hiding objects). This requires the file to be saved as a Dynamic PDF. This is available in the save-as dialogue under the file name.
    Good luck,
    Niall

  • Java Applets not working with Firefox 5 properly

    Java Applets work sometime. But after sometime the Java icon at the bottom (near date & time) disappears. After this no matter what I do it does not work. Java Applets are used in this case to draw charts. The same charts come out properly in Internet Explorer. But I prefer using Firefox for its speed. What is the reason for this problem ?

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Remember History"'''''
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Java script not working

    Hi all
    I have a web dynpro abap application with an adobe interactive form. In the form I want to make certain fields read only. To do this I am using java script. It works fine from the livecycle designer in preview mode but when I run the wd4a nothing happens - like the java script is not being executed. I tried changing the Adobe form properties to Acrobat 8 (Dynamic) XML form but it still does not work. Any ideas?
    I'm using ALD 8.0, sapgui 710, Netweaver 7 SP 22 and IE8
    Regards

    Have you checked that you can see the access property, for example, with a message box?
    xfa.host.messageBox(xfa.form.D8.Page2.<my field>.access);
    Also try accesing the field directly
    <my field>.access = "readonly";
    Do you have any script working in your form?
    Regards, Aldo.
    Edited by: Aldo Velazquez on Dec 9, 2010 4:36 PM

  • Right click functions does not work in Firefox browser Version 33.

    I have just upgraded my Firefox browser to version 33. Now I have noticed that none of the right functions are working. I searched the trouble shooting topic and found an advice where it says to uncheck the "hardware acceleration" option in the "Options" menu under "Advanced-General" button. I tried that solution didn't work.
    A workable solution is much needed.

    Did you Tried [http://mzl.la/MwuO4X Safe Mode],It Removes Generally lots of Problem without affecting your Downloaded stuffs in FireFox.
    To do this Follow this steps :
    * Goto '''Open menu''' >'''help'''
    * Click on '''Restart with add-on disable''' . This opens a new window with two options '''Reset Firefox''' and '''Safe mode''' .
    * Click on '''Safe mode''' .
    Now check whether you are able to use right click on it or not.
    If this is not works Then instead of '''Safe Mode''' click on '''Reset firefox''' .

  • Flash video has not worked with Firefox browser for years. When will you fix this?

    Anyone who uses Firefox browser (for Windows or for Mac) knows that flash video playback ceased working sometime around Firefox ver 13 and has not worked since.
    The Mozilla people say it is Adobe's fault - instead of fixing Firefox.
    They say roll back to Adobe Flash version 10.
    This solves the video problem, but then, any other services that depend on the latest Flash build, quit working properly.
    This situation leaves millions of Firefox users in perpetual frustration. We can't use our browser of choice to view any web video built with Flash.
    This is so unacceptable. I am unable to understand why Adobe and Firefox don't get together and iron out whatever code incompatibility is causing this.
    I would really like to hear Adobe's explanation for this.

    proteus-editorial wrote:
    Anyone who uses Firefox browser (for Windows or for Mac) knows that flash video playback ceased working sometime around Firefox ver 13 and has not worked since.
    The Mozilla people say it is Adobe's fault - instead of fixing Firefox.
    They say roll back to Adobe Flash version 10.
    This solves the video problem, but then, any other services that depend on the latest Flash build, quit working properly.
    This situation leaves millions of Firefox users in perpetual frustration. We can't use our browser of choice to view any web video built with Flash.
    This is so unacceptable. I am unable to understand why Adobe and Firefox don't get together and iron out whatever code incompatibility is causing this.
    I would really like to hear Adobe's explanation for this.
    Uh... I don't know what planet you posted this from, but Flash video has worked flawlessly with Firefox for hundreds of millions of users here on earth, without any gaps since Firefox was still called Mozilla.
    For the record, I have Firefox 28 with Flash Player 13 installed on:
    WIndows XP (SP3-64bit)
    Windows Vista Ultimate (SP2-64bit)
    Windows 7 Ultimate (SP1-64bit)
    Windows 8 Enterprise (64bit-2 machines) 
    Windows 8.1 Enterprise (64 bit)
    OS 0.6.8 Server
    OS10.7.5
    OS10.8.5 
    OS10.9.2
    And I've had Firefox with Flash Player since 2003 on both OS formats. I've never had a compatibility problem.
    I also use Chrome, IE, Opera, Safari and a few other browsers you probably never heard of (like SeaMonkey, Maxthon, Waterfox, iCab, OmniWeb)... Flash works in all of them.
    I'd have to say the problem is with your system specifically, because if it was a Firefox/Flash compatibility problem, there would have been hundreds of millions of complaints about it, for over a decade. That... just isn't the case.

  • Java script not working in JSP.

    Hi everyone
    I've got a problem with a java scipt that's not doing what I want it to do.
    I have a jsp which gets data from a database to display.
    On the jsp there is a "add" button which on click will open another jsp to add a contact, when I add the contact the jsp calls a web servlet which adds the contact to the database.
    After the contact is added the servlet directs the page back to the contacts page, and it must display the newly added contact in the jsp.
    I've configured a script that checks if there is a attribute called "addContact", if it has a value of "added" it must reload the page on load, which in turn will display the newly added contact, it refreshes but it doesn't display the newly added contact, it worked but after awhile it stopped working.
    Beneath is my code for the contact list jsp and the servlet.
    ContactList.jsp
    <?xml version="1.0"?>
    <%@ page import="contacts.Contacts"%>
    <%@ page import="java.util.*"%>
    <jsp:useBean id = "contactsData" scope = "page" class ="contacts.ContactsData"/>
    <html>
         <head>
              <title>Contact List</title>
              <script language=JavaScript>
              <!--
                   function clicked(clickedValue)
                        if(clickedValue == "add")
                             window.location = "AddContact.jsp";
              -->
              </script>
         </head>
              <%
              String refreshSession = (String)session.getAttribute("addContact");
              if(refreshSession != null && refreshSession.equals("added"))
              %>
              <body onload="window.location.reload(true);">
              <%
              session.removeAttribute("addContact");
              else
              %>
              <body>
              <%
              %>
              <h1>Contacts</h1>
              <form>
                   <table cellpadding="5">
                        <%
                             ArrayList contactList = contactsData.getContacts();
                             Iterator contactsIterator = contactList.iterator();
                             Contacts contacts;
                             while(contactsIterator.hasNext())
                                  contacts = (Contacts) contactsIterator.next();
                                  String contactName = contacts.getContactName();
                        %>
                                  <tr>
                                       <td><input type="radio" name="deleteContact" value=<%=contactName%>></td>
                                       <td><a href = "UpdateContact.jsp?paramName=<%=contactName%>"><%=contactName%></a></td>
                                       <td><%=contacts.getCompany()%></td>
                                       <td><%=contacts.getWorkNumber()%></td>
                                       <td><a href = "mailto:<%=contacts.getEmail() %>"><%=contacts.getEmail() %></a>
                                  </tr>
                        <%
                        %>
                   </table>
                        <br>
                        <input type="button" value="Add" onClick="clicked('add')"/>
              </form>
         </body>
    </html>NewContactServlet.java
    package contacts;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import contacts.*;
    public class NewContactServlet extends HttpServlet
         public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
              res.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT"); //no cache allowed
              HttpSession session = req.getSession(true); //get current session
              String contactssession = (String)session.getAttribute("contactsSession");
              if(contactssession.equals("add"))
                   Contacts contacts = new Contacts();
                   ContactsData contactsData = new ContactsData();
                   contacts.setContactName(req.getParameter("contactName"));
                   contacts.setCompany(req.getParameter("companyName"));
                   contacts.setWorkNumber(req.getParameter("workNum"));
                   contacts.setCellNumber(req.getParameter("cellNum"));
                   contacts.setFaxNumber(req.getParameter("faxNum"));
                   contacts.setEmail(req.getParameter("email"));
                   contacts.setCountry(req.getParameter("country"));
                   contactsData.addContact(contacts);
              else if(contactssession.equals("add"))
              session.setAttribute("addContact","added");
              res.sendRedirect("ContactList.jsp");
    }

    Ren2407 wrote:
    Hi stevejluke
    Thanks for the reply.
    ContactsData stores the Contacts into a database, Access to be precise.
    The store of the Contacts works fine and it gets redirected to the ContactsList.jsp page, but I need to click refresh on the browser to see the new
    contact. I've tried to make it load automatically when the browser opens but it wouldn't, it worked before.
    I'm using Apache to host the webpage.I don't see any errors.So lemme get this straight:
    You have the contactsList.jsp which when Add is clicked you go to addContact.jsp in the same window. Then when addContact is submitted it goes to the neContact servlet which adds the contact to the database and then sends a redirect back to the contactsList.jsp.
    When contactsList.jsp is re-shown it doesn't display the new data so you are using javascript to force-refresh the page, which used to work, but doesn't anymore.
    My guess is that your browser or some proxy between your browser and server is caching the page. You have to tell all clients not to cache that page using META tags:
    <?xml version="1.0"?>
    <%@ page import="contacts.Contacts"%>
    <%@ page import="java.util.*"%>
    <jsp:useBean id = "contactsData" scope = "page" class ="contacts.ContactsData"/>
    <html>
         <head>
              <title>Contact List</title>
                    <meta HTTP-EQUIV="expires" CONTENT="0" />
                    <meta HTTP-EQUIV="Pragma" CONTENT="no-cache" />
                    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache" /> You could then get rid of your javascript refresh code altogether.
    p.s. I am a big fan of using JSTL. Try to get rid of all your scriptlets and replace it with JSTL. It would look something like this:
              <h1>Contacts</h1>
              <form>
                   <table cellpadding="5">
                        <c:forEach var="contact" items="${contactsData.contacts}">
                                  <tr>
                                       <td><input type="radio" name="deleteContact" value="${contact.name}"></td>
                                       <td><a href = "UpdateContact.jsp?paramName=${contact.name}">${contact.name}</a></td>
                                       <td>${contact.company}</td>
                                       <td>${contact.workNumber}</td>
                                       <td><a href = "mailto:${contact.email}">${contact.email}</a>
                                  </tr>
                        </c:forEach>
                   </table>
                        <br>
                        <input type="button" value="Add" onClick="clicked('add')"/>
              </form>

  • Java will not work on Firefox 3.6 and 4.0.Why?

    After upgrading toFirefox 3.6 and 4.0 cannot get Java to work.
    Uninstalled several times with both versions,and reinstalled the same.As soon as Iclick on a Java site Firefox freezes and does not respond

    Friends,
    Everytime you upgrade firefox 3.6 onwards In win XP you are advised to upgrade Flash player and now for FF 3.6.8 player 10.1.54.. I don't find any justification.I would rather suggest user of Mozilla to clear the unwanted file created on macromedia flash player at C:\Documents and Settings\(**type__yuorfoldername)\Application Data\Macromedia\Flash Player\#SharedObjects> then except for s.ytimg.com ,ww.youtube.com you can safely delete the other junk.Thn move on to E:\Documents and Settings\ **type your foldername)\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys perform similar exercise. However this is my suggestion you may at your own risk . Chinu Ray

Maybe you are looking for

  • PowerPoint Makes File Read-only After Saving

    Hello all, A couple of end users have encountered the above problem. They make changes to pptx files and after the file saves, the file becomes read only (says so on the program window). If they are not paying attention, then any other changes they m

  • Corrupted project - help!

    My project got corrupted and now I can't quick Swipe between grouped tracks. What's the best way to import everything - audio files, automation, existing swipes, plug-ins etc - into a new project?

  • Block Cancel release PR after creation RFQ & PR

    Hi Gurus, I have created a PR. I have set my PR releae at header level. Then I have released PR items. After release, I have created RFQ & PO  for that PR. Now after RFQ & PO creation, system allows me to cancel the releasePR . msg 076 is not usful f

  • Image Files and the databse

    In the planning phase of an opensource project Im concidering database issues/options. The application to be developed makes great use of a database/ the target is mySql however Im planning on making the application work with various databases ( if p

  • I changed my apple id and now the game center is stuck with my old id how do i change that?

    I got my Dad's iphone and he said not to use his apple id create your own so i did and now the game center is stuck with my dad's id and it doesnt open what can i do also some of my apps/games that was in game center do not open now? what can be done