No enter key or focus w/firefox

When testing with Firefox, my flash form doesn't allow the
enter key or the scroll wheel to function. Not can I set focus on a
particular field. That is, The field appears to be in focus, but
the cursor is not set to that field. I have to click it first
before I can type into it.

On my MBP I can get "enter" by function-return.
charlie

Similar Messages

  • Arrow keys and enter key not functioning in Firefox 3.6 when viewing PDF

    I'm using Adobe Reader 9.3.0.
    I have a web application that displays PDFs (using Adobe Reader) in a browser.  The PDF is loaded onto the page inside an IFRAME.  In addition to the IFRAME containing a PDF, the page also includes several forms, text fields, etc. For the most part this is working fine.  However, I have a glitch when using this in Firefox 3.6. I'm finding that certain keyboard events are being lost and I strongly suspect that they are being swallowed by Adobe Reader.  When I place focus on an HTML text field and press enter key or arrow keys, I do not get the appropriate key events.  If I run the exact same test without the PDF IFRAME these key events work correctly, but as soon as I load the PDF into the IFRAME they do not.  I believe the primary key event that gets lost is the keydown event.  I do get the keyup event.
    Again, the events work correctly up until I load the PDF onto the page.
    I've verified that this error does not occur in Firefox 3.5 and 3.0.
    Here is a testcase to reproduce this:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').src=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <iframe
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                src='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                scrolling='auto'
                frameborder=0></iframe>
    </div>
    </body>
    </html>
    Paste the above into an HTML document.  Open the HTML document in Firefox 3.6.  Check the four checkboxes.  Move into the text field and press arrow keys and enter key to observe the results when it is working correctly.  Then click on the "Now Load PDF" link.  Press the arrow keys and enter key again and observe that the behavior has changed.
    Anybody have any idea why this is happening or how to work around it?

    I found a workaround!
    By using an object tag instead of an iframe, all the keys seems to work fine and the PDF still renders in the page the same way.
    Here's a page that works:
    <html>
    <head>
        <title>JavaScript - Detecting keystrokes</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <script type="text/javascript">
            var pdfURL = 'http://samplepdf.com/sample.pdf';
            window.onload = function () {
                init();
            document.defaultAction = true;
            function init() {
                var x = document.getElementById('testForm').getElementsByTagName('input');
                for (var i=0;i<x.length;i++) {
                    x[i].onclick = setEvents;
                    if (x[i].checked)
                        x[i].onclick();
                writeroot = document.getElementById('writeroot');
                document.getElementById('emptyWriteroot').onclick = function () {
                    writeroot.innerHTML = '';
                    return false;
            function setEvents() {
                if (this.id == 'default') {
                    document.defaultAction = !this.checked;
                    return;
                var eventHandler = (this.checked) ? detectEvent : empty;
                document.getElementById('textfield')['on'+this.id] = eventHandler;
                //document['on'+this.id] = eventHandler;
            function detectEvent(e) {
                var evt = e || window.event;
                writeData('<b>'+evt.type+'</b>:  keyCode=' + evt.keyCode+' : charCode=' + evt.charCode);
                return document.defaultAction;
            function empty() {
                // nothing
            var writeroot;
            function writeData(msg) {
                writeroot.innerHTML += msg + '<br />';
        </script>
        <style type="text/css">
            body {
                font-size: 12px;
            #writeroot {
                height: 300px;
                overflow: auto;
                border: 1px solid #2EB2DC;
        </style>
    </head>
    <body>
    <form id="testForm">
    <input type="checkbox" id="keydown" /> <label for="keydown">keydown</label><br />
    <input type="checkbox" id="keypress" /> <label for="keypress">keypress</label><br />
    <input type="checkbox" id="keyup" /> <label for="keyup">keyup</label><br />
    <input type="checkbox" id="default" /> <label for="default">Suppress default action</label><br />
    <input type="text" id="textfield" /><br />
    <button id="emptyWriteroot">Remove messages</button>
    </form>
    <a href="#" onclick="document.getElementById('docviewer-page').data=pdfURL;return false">Now load IFrame</a>
    <p id="writeroot"></p>
    <div id="container2" style="border:1px solid black;width:400px;height:200px">
            <object
                id='docviewer-page'
                name='docviewer-page'
                title='document page'
                data='http://www.google.com'
                align='left'
                width='100%'
                height='100%'
                ></object>
    </div>
    </body>
    </html>

  • Skip Enter Key and focus a field

    Hi All
    I need to :
    1) skip pressing the enter key to refresh the screen after selecting a ralio button
    2) focus a paticular field after selecting a radio button
    Please tell me the tricks to perform these - I have looked up the help and SDN for these - but sofar - not much useful info found
    Thanks in advance.

    Hi Liem,
    Refer below thread and in that see the link of help.sap.com
    Re: Set Variant in Program
    Regards,
    Atish

  • Unexpected behaviour upon pressing the 'Enter' key on dialog screen

    Hi.
    I have two dialog screens that exhibit unexpected behaviour when i pressed the 'Enter' key.
    Screen 1: When I pressed the 'Enter' key, the focus shifted to another input field and the content of the previous input field is cleared. The thing is, I did not have any codes in PAI for 'Enter'. Why is this happening?
    Screen 2: On load, some of the fields on this screen will be disabled. However, when I pressed the 'Enter' key, all the disabled fields become enabled. Again, I did not have any codes that handle the 'Enter' key in PAI. Why is this happening?
    Any help is appreciated.

    Hi Atish.
    Yes, I have used CHAIN... END CHAIN.
    I thought that CHAIN... END CHAIN allows my input fields to be re-activated after an error message is displayed.
    How would CHAIN... END CHAIN cause the unexpected behaviour?
    Thanks.

  • Since upgrading to Firefox 10.0.2 my AVG extension has had to be disabled, as after typing in any web address in the address bar, the enter key had no effect and I could not go to the site without pressing the Reload arrow on right.

    I have recently upgraded Firefox to the latest version 10.0.2. After that I could not enter any website address and press the enter key and get to the website, nor could I select a website from the dropdown list of previously visited websites. The only way I could get there was by pressing the arrow on the right side of the address box (Reload current page). Once I disabled the AVG extension, everything worked normally. As soon as I enabled the AVG extension, it stopped working again.

    Follow these steps for the controls to work:
    # Start > Programs > Mozilla Firefox > Mozilla Firefox
    # Find the “Tools” menu at the top of the browser window and select “Add-ons”.
    # Click on the “Extensions” icon to make sure you’re in the correct option menu.
    # Locate “AVG Safe Search” and click on the containing line to highlight and select the add-on.
    # Click the “Disable” button and close the Add-ons window.
    # Close down any Firefox windows you may have open.
    # That’s It – You’re Done!

  • Why does firefox change fonts when I am trying to download or get help, click and enter keys are disabled why?

    I recently did a clean install of windows7 after returning from Europe and installed Mozilla firefox being fed up with microsoft and google .
    Fire fox seemed to be working ok but 7 out of 10 downloads were failing, and it seemed that every ebsite entered in the address bar turned into a question.
    There was no save shortcut, or paste buttons just a set of to me useless buttons first html, last html, then when I tried to contact help all of a sudden I got a "install fonts" notice and the enter key stopped working,
    and any action key was also disabled without advising me.
    It appears that either Mozilla or someone doesn't want me using firefox.
    I also noticed that the clean disk and other utilities didn't work and that the temp and temp internet folders were empty when I tried to open them but they actually had some 25 megabytes in them when queried as administrator. I also noticed a quick flash reference to Jscript=void,
    and my 32 bit computer suddenly started up as a 64 bit Turion.
    scan and system clean said machine was clean.
    Whats going on here?
    I am not on my machine, I can't contact you on it because the enter button has been disabled by font change.
    Maybe this robot needs some help too!

    Can you undo the system restore?
    Note that using System Restore can cause your Firefox installation to get corrupted because not all files are restored (only files in a white-list), so be cautious with using System Restore.
    *You may lose data in the Firefox profile folder like .js and .ini files pr profiles.ini can be affected.
    *You may need to (re)install software that was affected.
    In case you need to reinstall Firefox then you need to delete the Firefox program folder before reinstalling to make sure that all files get replaced.
    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • The enter key to login pages no longer works in Firefox 5

    After upgrading to Firefox 5 hitting the enter key after entering my password on login page does nothing. Before it would submit the page. This was a problem with the beta, too, and I had to downgrade to 4 to fix it. That works fine in 4.

    Yes, this is a stupid behaviour. I have it too. Also, in textboxes it doesn't give me new line.
    The form sending you can solve via hitting Ctrl + Enter.

  • The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    The enter key is not working in firefox but it has working fine in chrome and IE so please help me to rid out from this.

    Hello gokulaan, '''try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Lose of focus (mouse click/enter key)

    Hello,
    we have a problem customers are complaining about for quite a while now, but despite our efforts, we can not fix it or at least determine with certainty the problem cause.
    We have an application launching forms apps, and from time-to-time we completely lose the focus on this form (generally after typing ENTER in a filter), I mean by focus, we cannot click anymore (cursor seems to stay on a object), we cannot press enter anymore (we get a 'Not defined key function') and so on...
    I heard somewhere that it could be due to 'KEY-OTHERS' trigger not handling correctly the ENTER-KEY. But I need this trigger for my filters, or is there another way? KEY_ENTER does only navigate from field to another.
    I found something which was able to remove focus lost (kind of a hack while trying to fix this on an on), but the problem is I had to remove this, because it blocks the opening of new windows or popups. It was a mouse-click trigger on forms triggers level:
    Go_Record(:System.Mouse_record);
    Go_Item(:System.Mouse_Item);
    But this blocks any window opening, and it also blocks some other tools we have developed.
    Thanks,
    Best regards,
    G.
    EDIT: Forms 11g, and I am pretty sure we had not that much problems with 10g
    EDIT2: I read the same kind of topics in the forum, but no patch seems to help
    AND we use JRE 1.7....
    Edited by: lakers on Jan 14, 2013 11:56 PM
    Edited by: lakers on Jan 14, 2013 11:59 PM

    this problem occurs with some of versions of JRE. Try with JRE JInitiator 1.3.1.22. Also unstalled all others JRE if exists.
    A file called fmrpcweb.res has also been provided which gives the Microsoft Windows client/server keyboard mappings. To use this file, rename fmrpcweb.res to fmrweb_orig.res, and copy fmrpcweb.res to fmrweb.res. Alternatively, use the term parameter as described above.
    By default, whether deploying client/server or over the Web pressing the ENTER key takes the cursor to the next navigable item in the block. To override this default behavior it is necessary to modify the forms resource file to revise the key mapping details.
    Modify fmrweb.res and change the Forms Function Number (FFN) from 27 to 75 for the Return Key. The line should be changed to the following:
    10 : 0 : "Return" : 75 : "Return"
    By default, the line is displayed with an FFN of 27 and looks as follows:
    10 : 0 : "Return" : 27 : "Return"
    This line should NOT fire the Key-Enter trigger since the Return or Enter key is actually returning the Return function represented by the FFN of 27. The FFN of 75 represents the Enter function and fires the Key-Enter trigger.
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
    please mark correct/helpful if problem is solved..
    Edited by: Askdineshsinghminhas on Jan 15, 2013 5:28 AM

  • How can I use the enter key instead of tab to change field focus?

    I am using Acrobat 9 Pro.
    We have a fillable PDF where the users enter numbers into fields.  They want to be able to use the <enter> key on the 10-key pad instead of the <tab> key on the keyboard to move the focus to the next data entry field.
    How can I set my PDF so that it recognizes the <enter> key instead of the <tab> key for changing focus?
    Thanks!

    You can use a custom Keystroke script, something like:
    // Custom Keystroke script for text field
    if (event.willCommit && event.commitKey === 2) {
        getField("Text2").setFocus();
    Where "Text2" is the name of the next field. This doesn't disable the Tab key though. For more information, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.608.html

  • Traversing Focus By Enter Key

    Please Try to Help Me on this ............
    I Have a Screen where I need to traverse focus (it has textfields, combo boxes and buttons) when I press the Enter Key (like Tab).
    I used a Key listener and was able to do it (to a certain point)
    The code I have written is below ..
    Now The problem is when the focus sets on a JComboBox, it wont go further (tab works). I know that the enter key in a JComboBox is used to select a item.
    So what I need is first to be able to select an item using the enter key and when press enter key again, the focus must go to the next component.
    Is there a way to do it ???
    (JCheckBox and JButton has similar problems)
    SymKey aSymKey = new SymKey();
    textfield1.addKeyListener(aSymKey);
    textfield2.addKeyListener(aSymKey);
    combobox1.addKeyListener(aSymKey);
    combobox2.addKeyListener(aSymKey);
    checkbox1.addKeyListener(aSymKey);
    textfield3.addKeyListener(aSymKey);
    button1.addKeyListener(aSymKey);
    class SymKey extends KeyAdapter {
    public void keyPressed(KeyEvent e){
    if (e.getKeyCode() == e.VK_ENTER) {
    if (e.isShiftDown())
    FocusManager.getCurrentManager().focusPreviousComponent((JComponent)e.getSource());
    else
    FocusManager.getCurrentManager().focusNextComponent((JComponent)e.getSource());

    Hi,
    You need to implement the focusmanager, and set currentfocusmanager with your focusmanger.Then it works out.Because Jcombobox is editable the keyevent of the combobox executes .
    Hope it helps.
    venkat

  • Firefox is not loading specific websites for me. Sites like Facebook, Ebay, Google, and Netflix refuse to open, or even acknowledge me pressing the Enter key

    Firefox is not loading specific websites for me. Sites like Facebook, Ebay, Google, and Netflix refuse to open, or even acknowledge me pressing the Enter key when I type in the address or click a link to that site. Practically every other site works perfectly fine. I did not change any settings or download any new addons prior to this problem, it just started happening. I have done everything I can find in the forums; resetting firefox, clearing cache and cookies, making network settings use no proxy, reinstalling, and today I uninstalled Firefox, updated and scanned my computer with all 3 software I use (AVG, Malwarebytes, and Spybot), found no issues, restarted my computer, and reinstalled a freshly downloaded Firefox setup without importing any settings or doing anything other than a totally clean install, and still nothing. Chrome and IE still are able to access every site perfectly fine. I have no idea what the issue is or how to fix it, as I've tried everything I know and could research.

    Hi There,
    Sorry to hear of your issue. I found a great article for you to read and explain how to fix your issue. I hope this hope :)
    Robert
    Click on the link below
    [[https://support.mozilla.org/en-US/kb/firefox-and-other-browsers-cant-load-websites ]]

  • I just downloaded (updated) Firefox to V 20.0.1 now the "search" does not work, either via the mouse click or the enter key. Windows XP.

    Updated to latest version, V 20.0.1 Now when on the home page the "search" does not function with mouse click or the enter key. Currently running XP Service pack 3. I also have the same problem (after same firefox update at home with my HP laptop running Windows 7.

    You can check if you still have the XML files of the default search engines including Google in the searchplugins folder in Firefox program folder.<br />
    If not then you need to reinstall Firefox.
    Try to use the SearchReset extension to reset some preferences to the default values.
    *https://addons.mozilla.org/firefox/addon/searchreset/
    Note that the SearchReset extension only runs once and then uninstalls automatically, so it won't show on the "Firefox > Add-ons" page (about:addons).
    Try to delete the search.json file and a possible search.sqlite file in the Firefox profile folder.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Firefox will rebuild the search.json file from the default search engines in the searchplugins folder in the Firefox program folder and the searchplugins folder in the Firefox profile folder.
    Do a clean reinstall and delete the Firefox program folder before reinstalling a fresh copy of Firefox.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other profile data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Detecting Enter key while textbox has focus....

    It seems like in CS5 while using the tlf textfield that when the focus is in the textfield that the keyboard.enter key is not fired. However, outside it is. If I set my tab index to add the "login" button as the third tab index then the enter key works fine. But sometimes when I'm filling out a form when I'm in the last textbox I just hit enter. What's the workaround to have the enter key fired while focus is in the textfield?
    Thanks,
    C

    It seems like in CS5 while using the tlf textfield that when the focus is in the textfield that the keyboard.enter key is not fired. However, outside it is. If I set my tab index to add the "login" button as the third tab index then the enter key works fine. But sometimes when I'm filling out a form when I'm in the last textbox I just hit enter. What's the workaround to have the enter key fired while focus is in the textfield?
    Thanks,
    C

  • Focus navigation with enter key between controls

    hi,
    i've an app and i wanna change control focuses one to other one with pressing enter key..i think keyFocusChange property solve my prob but i couldnt fix it..
    text input
    button
    helppp pls.
    thnx

    thnx krafttimd for help..
    i solved it with an easily way..i used textInput s enter event and generate a handler.
    <s:TextInput id="kod" enter="kod_enterHandler(event)" />
    <s:TextInput id="sifre" enter="sifre_enterHandler(event)" /> 
    <mx:Button id="giris"  keyDown="giris_keyDownHandler(event)" click="checkLogin()"/>
     protected function kod_enterHandler(event:FlexEvent):void{
    sifre.setFocus();
     protected function sifre_enterHandler(event:FlexEvent):void{
    giris.setFocus();
    protected function giris_keyDownHandler(event:KeyboardEvent):void{
    if(event.keyCode == Keyboard.ENTER) checkLogin();}

Maybe you are looking for

  • Converting PDF to word using OCR

    How do I convert a PDF file to Word format without the text changing on the Word document?

  • Auto Purging of Purchase Requisition

    Does anyone has any experience in auto purging of incomplete purchase requisition? Currently it can be done manually but we would prefer to run a concurrent program to do it periodically. Any information will be appreciated.

  • Editing large amounts of data

    Hi - I am helping to design a new application at my company. We're currently using JBoss 5 & JSF 1.2 and we happen to be using Richfaces 3.3.2. The application is to implement a web based solution to replace a very large spreadsheet that my users hav

  • Lost my photoshop disk

    hi my hard drive was erased/ my disk drive is broken. I don't have my photoshop disk or serial numbers anymore but how can i re-install my photoshop without my photoshop disk? i have proof my purchase from 2010 in email format.

  • Need help with setting PATH in Windows 98

    Hi Can anyone please help me!!! I am new to java and I am confuse how to set the path in my pc. I have a windows 98, I downloaded the Java 2 SDK Standard Edition v 1.4.1 from the CD that came with the fifth edition "Java How to Program" book. I follo