JSP works in IE 7 and Opera 9.1 but not Firefox 2.0

Hi everyone,
I have a JSP with a form and a list box. When the user selects a value in the list box the form is submitted:
<form id="ampForm" method="POST" action="AMPSearch">
    <fieldset>
        <p>
            <label for="amp">
                Actual Medicinal Product Search Result:
            </label>
            //Here is where I think the problem lies the "onchange" method does not appear to be recognised by Firefox.
            <select size="10" name="amp" onchange="ampForm.submit()" class="listbox">
                <c:out escapeXml="false" value="${requestScope.ampList}" />
            </select>
            <input type="hidden" name="ampList" value="<c:out escapeXml="true" value="${requestScope.ampList}" />" />
               </p>
        <p>
            <label for="ampp">
                Actual Medicianl Product Pack Sizes:
            </label>
            <select size="10" name="ampp" class="listbox">
                <c:out escapeXml="false" value="${requestScope.amppList}" />
            </select>
        </p>
        <c:if test="${!empty requestScope.amppList}">
            <p>
                <label for="quantity">
                    Quantity:
                </label>
                <input type="text" name="quantity" value="" />
                <input type="submit" value="Add Order" name="addOrder" />
            </p>
        </c:if>
    </fieldset>
</form>This all works fine in IE7 and Opera 9.1 and Netscape 8.1 when it is set to display like IE, but not in Firefox 2.0 or when Netscape is set to display like Firefox.
Does Firefox not recognise the "onchange" method? What should I use instead? Any help would be much appreciated.
Tom

Not to worry people, I have done it again.
For some reason when I post on here a few minutes later I figure the problem out even though I have been struggling with it for ages.
The form should have had name="ampForm" not id="ampForm". Stupid thing.

Similar Messages

  • AirPrint works on iPhone 4 and I Pad 1 but not iPhone 4s

    I am able to print using my iPhone 4 and my iPad 1, but my wife is unable to connect with her iPhone 4s. It worked a couple days ago, but now it doesn't. When I press "Print" the Print Options window comes up and in the Printer field, it says "Select Printer". When I click that, it starts "Looking for Printers" and the result is "No AirPrint Printers Found". None of my other module devices or computers have a problem locating the printer. I'm confused!

    First thing I would double check is to see if that phone has WIFI corrently enabled.
    No WiFi no printing.
    Al

  • My phone as working fine until suddenly 90% of my music, most purchased, skipped over in shuffle. i then looked again and it had a little red circle next to the song and it wont play. It works fine on my iTunes on my laptop but not on my iPhone 4

    My phone as working fine until suddenly 90% of my music, most purchased, skipped over in shuffle. i then looked again and it had a little red circle next to the song and it wont play. It works fine on my iTunes on my laptop but not on my iPhone 4

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

  • Can firefox support "file:///" format to access local files (note 3 fw slashes) this works for IE but not firefox and is the format used in the "afghan war diary" from wikileaks

    can firefox support "file:///" format to access local files (note 3 fw slashes) this works for IE but not firefox and is the format used in the "afghan war diary" from wikileaks

    See http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • My iphone 3g keypad is not working. Letter "R" and numbers 7,8,9 not working.

    my iphone 3g keypad is not working. Letter "R" and numbers 7,8,9 not working. Can someone help me, please?
    Idia

    basics from the User Guide are restart, reset, restore from backup, restore as new.  Have these been attempted?
    If you've tried ALL these steps, including setting up as a new device (not from backup), and you still have problems, then you have a hardware failure and will need to bring your phone into Apple for replacement.

  • My xtreme tong-its seems corrupted...before it was working very well, but for several games played it stop working, i tried remove and re-install it but nothing happens. Can you please tell me what to do in fixing this particular game.

    my xtreme tong-its seems corrupted...before it was working very well, but for several games played it stop working, i tried remove and re-install it but nothing happens. Can you please tell me what to do in fixing this particular game.

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • PC Used to work with XP and airport Extreme Basestation but not with Vista

    Please help, my PC Used to work with XP and airport Extreme Basestation but not now with Vista. I have a MacBook Pro connected and also a Mac Pro connected to the network on it and they still work, i have put the latest software on the PC and the firmware is up to date. The only thing i can see on the network on the PC is the basestation Hard Disk (shared also to the Macs) but i cannot connect with the password, i have tried everything in my knowledge, including formatting the machine and reinsatlling OS and changing security setting to no avail. Any ideas anyone?

    With regard to your printer problem - take a look at this discussion:
    http://discussions.apple.com/thread.jspa?messageID=6312413&tstart=0

  • Having upgraded all my devices to IOS 6, including iPad And upgraded no montan limón no my macbookpro, iCloud seems not to be working as smoothly anymore And some impagos docs have not transferred. Help

    Having upgraded all my devices to IOS 6, including iPad And upgraded no montan limón no my macbookpro, iCloud seems not to be working as smoothly anymore And some impagos docs have not transferred. Help

    Having upgraded all my devices to IOS 6, including iPad And upgraded no montan limón no my macbookpro, iCloud seems not to be working as smoothly anymore And some impagos docs have not transferred. Help

  • My iphone 3G has worked fine via bluetooth with my BMS 3 series (57 plate) until I updated to V.5.0.1 software and now only some but not all contacts are transferred - any ideas?

    My iphone 3G has worked fine via bluetooth with my BMS 3 series (57 plate) until I updated to V.5.0.1 software and now only some but not all contacts are transferred and available - any ideas?

    Rodger,
    Thank you for your gracious welcome . . .
    and thank you for your swift response . . .
    and thank you for your information (and encouragement!).
    Yes, I read that too, but searched in vain for the specifity of, say, your direction:
    "Go ahead and update to 8.0.2, as it contains the 8.0.1 update."
    So I shall!
    Again, many thanks.

  • There was away (before Mavericks) I could single click on an email and it would highlite but not open.  I could either delete or second click and the email would then open.  Can anyone tell me how to configure the prevue pane to that end with Mavericks?

    There was a way (before Mavericks) I could single click on an email in the "prevue pane" and it would highlite but not open.  I could then either delete it or click again and it would open.  With Mavericks that doesn't seem to be available making it impossible to delete an email in the prevue pane before I open it.  Its frustrating to have to go through all the monkey motions when I know I want to delete it from the get-go.  Does anyone know who to configure for that operation?  I'm using an iMac. 

    Wow,  have you ever seen 1 Billion in hard cash?  If not, I assure you it exists as well. 
    Try not to pick apart what others write because you "have not seen it." 
    I run TWO programs for protection of my MAC now and have been for sometime b/c developers of them become complacid thinking MAC is impermeable. 
    My MAC locked me out of it and two externals and when I finally did get back into them Norton Anti-Virus found a "worm."  When I asked the program to find the origin, it was traced back to an email, as you said, that I opened unintentionally.  I still have two external HDs for backup and a cloud backup now. 
    When ClamX ran after Norton was finished, ClamX found what it called as "spyware," and it's origin was in my email also.  I tried to delete the emails after the programs (both) identified the infected files, however once deleted and the computer is restarted, they were still there because I ran the scans again. 
    Now since we are no longer talking about how to turn on and off the view pane in apple mail; riddle me this,  why can't the developers of these antivirus and antispyware/malware programs get together and develop ONE PRODUCT that catches 90-95% of the viruses/worms/spyware/malware ect that get onto MAC's?  Is it because they are too busy thinking they don't exist? 
    I still run both programs and feel protected between the two.  If Norton said it was a "worm" then I believe it was a worm and if ClamX called it "spyware" then I believe it is spyware. 
    I had to wipe my MAC and do a fresh install to get it working again, then I had to open one of those externals (which was very, very difficult) multiple times until finally it displayed the message "you can view, but not change the data."  I exported as much as I could to my cloud and I had to format both of those too. 
    I still run both programs as I feel protected between the two.  If Norton tells me it is a "worm" then I believe it is a "worm;" if ClamX tells me it is "spyware" then I believe it is "spyware."  If it happens again, which my hope is that it won't, I will be more than happy to send the infected files to you!!
    Try not to "forum rage."  Support forums to post experiences and find answers, not nit-pick or claim not existance b/c you have not experienced it for yourself.

  • Medical app from Intuit works in IE, but not Firefox.

    Encrypted medical app works in new IE, but not Firefox. Everything works down to the end, and click on "continue" and nothing happens. A tech and I have spent hours on this. Did not work on FF5 or 6. Did not work on old IE, but did on fresh new version with no data files copied in.

    If it works in IE but not FF, then it has nothing to do with the mp3s. More likely it's because of the HTML on the page.
    To start, page is missing DOCTYPE declaration... a MAJOR problem. The DOCTYPE declares which set of rules the browser will use to display the page. Without it, different browsers go crazy or do not work at all.
    http://www.w3schools.com/tags/tag_DOCTYPE.asp
    Validate the html code here:
    http://validator.w3.org/
    You will have to fix all the errors if you want this to work in all browsers.
    Best wishes,
    Adninjastrator

  • My website works in IE but not firefox

    this is my web page:
    http://www.andrew-leonard.co.uk/Mallorca/mallorca%20ferns.htm
    It usess css to define layers and javascript to show and hide the layers. It uses a dhtml menu system by Milonic to execute the javascript
    This is part of the code for the layers:
    <pre><nowiki><style type="text/css">
    #Layer01 {position: absolute; left: 300px; top: 50px; z-index:1;}
    #Layer33 {position: absolute; left: 300px; top: 50px; z-index:33;}
    </style></nowiki></pre>
    This is part of the javascript to show/hide the layers:
    <pre><nowiki><script>
    function showlayer(layer){
    var myLayer = document.getElementById(layer).style.display;
    if(myLayer=="none"){
    document.getElementById(layer).style.display="block";
    } else {
    document.getElementById(layer).style.display="none";
    </script></nowiki></pre>
    It works OK in IE but not firefox

    If you check Firefox's Web Console (Ctrl+Shift+K) it'll tell you any errors it's finding and the line of code it's finding it on.
    The problem it seems to be having up front is that IDs are case-sensitive - "layer02" is not the same as "Layer02", for example.
    There may be further errors once it's past that, but all the current browsers come with the tools you need to weed out any further issues.
    Further Javascript reference: https://developer.mozilla.org/en-US/docs/JavaScript

  • Spry tooltip works in IE but not Firefox

    Hi,
    I don't understand or  can't figure out what I have done wrong. I have created a tooltip for  the last product  (4 inch diameter Vortex Water Revitalizer  in  copper (special order)) on the page: http://www.alivewater.net/order.htm
    It  works in IE but not Firefox... I can't figure out why... can you help  me and see what I have done wrong?
    Eternally grateful,
    Starry

    I think I fixed the problem.. maybe you had looked at it after it was fixed. I do appreciate your help though!

  • Why is my Apple ID working on the Apple Website on the computer but not restoring my ipad... What is the problem with it????

    Why is my Apple ID working on the Apple Website on the computer but not restoring my ipad... What is the problem with it????

    LeesaHeeley wrote:
    When I go to settings/iTunes App Store my Apple ID is not there. When I enter my ID and password it does not save or link to account.
    When fist setting up your new iphone you will be asked to log in with an apple id and password. If this did not happen you can then do as you suggested going to settings to itunes and app store and add your apple id login. This apple id login must have already been created for the iphone to accept it. If this apple id is already created but is not being accepted by your iphone you then should shut down your iphone and restart the device.
    Good luck.

  • Madison Square Garden web site opens but when I click on view all concerts tab at the MSG site it does not open. It works with AOL but not Firefox

    I go to '''www.thegarden.com''' I click on the tab '''View Full Calendar'''. It does not open. It works on AOL but not Firefox. And for some reason it also does not work when I use Internet Explorer. The majority of times when I click on that tab (in Firefox) it does not work. On a rare occasion it will open. I am not doing anything differently either time.
    Any help would be greatly appreciated.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for