appeal of. focus() works does not in 2.0 Playbook app

Hello

It is a 2.0 Playbook application. I'm calling. focus() on a text box, but nothing happens when I make the call. Strangely, I have a second text box on another page that correctly answers the call of. focus().

Here is the HTML code for the textarea component:


I also tried to use. click() on the text box, but I don't see any effects of this call. If I perform a manual click, the focus switched to the text correctly area. However, I can't get it done by programming.

I have considered using Web Inspector, but do not see the console messages that indicate what could be the problem. Any ideas how to start tracking down where is the problem?

Thank you

Thanks for the reply Magenetic_dud:

I found a work around for the problem by delaying the call of. focus():

setTimeout(function () {$('#fieldDescription').focus();}, 200);

Right now I find that the question was a DOM rendering problem that probably was caused because only when calling from. focus() has been made my changes to the DOM was not fully loaded yet.

Thank you

Tags: BlackBerry Developers

Similar Questions

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

  • Adobe flash player not working does not or does not appear as an application under Tools, options

    Adobe flash player not working does not or does not appear as an application under Tools, options

    If you can't Flash 11.3 to work and need to return to 11.2 Flash you can download Player Flash 11.2 through this direct link:

  • WIFI doesn't work does not correctly after driver update

    I have a DESIRE 4 laptop 1023tu with operating system Windows 8 PRO. My WIFI works does not properly after the update drievr.

    Problems...

    1. When you try to connect to a wifi hotspot the quick adapter turns off and allows the card instantly

    2. after connected, sometimes no internet access and the problem turns off only after reconnecting to the netwrok after setting off.

    If the update doesn't work not for you then do as I explained in my previous post and roll back to the previous driver. This philosophy can be applied to all updates.

    If there is no pressure or emerging reason to update to your PC or laptop works just great... do not update. (this is especially true when it comes to an update of the BIOS)

    For your question #2, the problem could be your wireless (modem, router or access point) which causes the connection dropped.

    Best regards
    ERICO

  • my microsoft work does not work error message that I need to reinstall, but I don't have a disck because it was already installed when I bought at walmart

    I bought my dell computer 2009 Wal-Mart, that he has is already set up with windows vista basic... and now my microsoft works does not work it says I have to reinstall.  However, he is not come with a disc. so, how can I do without having to buy a disc

    Go here: https://smartsource.dell.com

    This is where you go to download programs that have been installed on your computer that you do not have a CD for.

  • AutoComplete doesn't work does not after installing IE *.

    AutoComplete URL function works does not after installing IE8.  Looking at the Advanced tab properties IE I see an option to use AutoComplete (which is
    ticked off) but it is said to "..". turn of Internet Explorer".  Whatever that means, and how I seized not semi-automatic work again under IE8?  I can go back
    for IE7, if it's the only way.   I tried to hit "reset" on the Advanced tab I saw a thread on try this - but no go...  Thank you

    sjakulski,
    Thank you for visiting the Microsoft Answers community forum.

    In Internet Explorer 8, the Auto complete option is in a new tab.  Go to tools, Internet Options and then click the content tab.  You will see a section that says "Auto-Complete".  Click on the 'Settings' button and it gives you several choices of auto complete options.

    This should solve your problem.  Let us know if you need more information.
    Thank you, Gloria
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    To run all the applications of the laptop or install download applications works does not error message indicating that the application is not valid "win32.exe or win32.application.

    Hello m.velentino,

    Not sure if you are still having the error message isn't valid win32.applicaiton.

    Get the error: not a valid 32-bit application can have several origins:
    I have listed some of them below.

    The file is corrupted, bad or missing.
    -If the hard disk is damaged or hurt it cause work programs to fail, either because not all data can be read from the hard drive the program is damaged on the drive. Run scandisk and defrag on the hard disk to check for potential errors.
    -If you run the program from a shortcut on the computer, verify that the program is still on the computer. In some cases if the program is no longer installed on the computer, you can get this error.

    File is not designed for your version of Windows:
    -If you try to run a program that is not designed for your version of Windows, you can get this error.
    -Although many old programs designed to work in older versions of Windows will work with new versions of Windows, unfortunately, not all programs will not work.
    -If the program is an MS-DOS program more former start program or Windows, you can get this error.
    -If the program is designed for a 64-bit version of Windows and you are running in a 32-bit version of Windows, it will not work and generate this error.

    File is a virus, worm or other malicious program file.
    -
    This error can be generated by a file that is a virus, worm, Trojan horse or other type of malware file. Often, this will result because the antivirus installed on the computer will not allow the file to install or run. Try to analyze the file to check, it is not a virus or infected.
    -If the file has been checked and is clean, it is always possible that the virus protection program or a another program installed on the computer is at the origin of questions during installation or execution of the program. Start the computer in Mode safe and try to run the program. start the computer in Mode safe will be that nothing is running in the background that could cause this problem.

    Hardware incompatibility.

    -If you get this error during the installation of a program, it is also possible that the CD-ROM drive or the drive that you are installing the program from is not compatible with Windows or has drivers that are not compatible with Windows.
    -Download the latest drivers for your CD player or other of the manufacturer of the computer or the manufacturer of the equipment. (Microsoft does not pilot for other materials)

    Let us know if these suggestions help you.

    Marilyn

  • Active state with menu manual not working does not with child pages

    I created a horizontal menu manual on my master page with two links (at WORK and about me). I did them manually as it was the only way I could work out how the style and the menu items to distance as I wanted. I created an active state that works for the main page WORK and the about me page.

    However, I have four child pages under the work, but when you click on one of them that the active State for labor (a green line under work) does not appear. When I return to the menu options to try to "solve" the problem and choose "All pages" all child pages appear in the main menu I want and does not solve the problem. I chose manual that I could put the line to show that under the term of WORK and not all field.

    Here is my Web site to demonstrate the problem: www.robertgreens.com

    Any help to fix this would be appreciated with gratitude!

    I managed to solve this problem (with the help of Live Chat Support). I needed to create an autour work and provide a 'normal' State which resembled the active state, so when you click on the pages of the child, it looked like work page parent menu (with a green line) below. This meant that I had to duplicate master page and do the same (deletion of the green line in the menu of work) for the words Me page. And now, everything looks the same: www.robertgreens.com

  • I had endless problems with Lightroom since the purchase of subscription for one year in December 2014. Now, the development Module was disabled, as they claim that my subscription has expired...  He spent more time to work does not, and I'm bitterly briv

    I had endless problems with Lightroom since the purchase of subscription for one year in December 2014. Now, the development Module was disabled, as they claim that my subscription has expired...  He spent more time to work does not, and I bitterly regret it.  Help, please!

    Open the Adobe Creative Cloud application then go to preferences then sign out and then sign back with the same Adobe ID that you used to purchase the subscription photographers, that is to say the same e-mail address and password.

    Then open Lightroom and go to the Help menu and make sure that it is signed in with that Adobe ID email address.

  • I have the iphone 6, since yesterday it does not open a lot of apps, they look just as they open you and then it comes out of the application itself, and I need information in my apps so I can just remove them and reinstall

    I have the iphone 6, since yesterday it does not open a lot of apps, they look just as they open you and then it comes out of the application itself, and I need information in my apps so I can just remove them and reinstall

    Have what troubleshooting you done?  Surely you have tried something before posting here, Yes?

    Hold power and home until is buttons restarts.

  • Focus Stacking does not work

    I tried to find a CS6 forum in which I could put but could not find a forum that I have been accepted to post in, so forgive me for being here.

    I took several pictures with several points of contact, and I'm trying to merge them in Photoshop CS6, but every attempt that I find myself with a single layer that is used, while others show no selection at all.

    Even when only 2 images using the process only uses the first image and sets the transparent mask.

    Here are the steps I followed:

    1. Open each of the images I want battery.
    2. Use the Photomerge with Auto, Blend Images together and add open files. This creates a new image with multiple layers with success, but areas are chosen.
    3. Use auto-merge layers, stack transparent Image tones and colors checked.

    The obvious outcome does not change because the first layer is used.

    What Miss me?

    Tom

    I suggest to use the feature file - Scripts - load files into stack instead of Photomerge, because it is more directly what you are wanting to do.

    Your images have a lot of noise that might be misinterpreted by the stacking process in detail?

    -Christmas

  • Windows - Alt Key focus bug does not have to access the menus.

    Hello-

    I use Alt - Tab to move through my open applications.  After tabbing through open applications using Alt - Tab, and then selecting an application (such as Excel), the Alt key does not work the first time I click on it.

    For example, I Alt - Tab to Excel, Excel Gets the focus, I type Alt - F to access the file menu.  It does not work.  I find myself with the letter 'F' in the currently selected cell.  Inevitably, this screw my spreadsheet and distracted me from my work.  This was never a problem in Windows XP, in Windows 7.  I find that it is occurring with other applications also.

    I have to press the ALT key twice or press ESC and Alt - F.

    Is there any solution for this?  A patch?  A work around?

    Thank you

    I discovered that the source of this problem (for my computer) is that I was using an Aero theme.  When I switched to Windows Classic theme, the problem disappeared.

    Steps to follow:

    (1) right-clight on your desktop.

    (2) select "Customize".

    (3) select "Windows Classic Theme.

    I found that it was the themes Aero that caused the problem.  So now, Windows 7 is really ugly with the "Windows Classic theme" but I'll take functionality without bugs an interface fairly riddled with bugs anywhere, anytime.

    It works for you?

  • The CPL Script works does not on Cisco E Highway

    Hello

    I am trying to download the script to block all the RTC call hit on the highway E in order to avoid any misuse, however the script does not come into force.

    Attached the script and please let me know if something is missing.

    It is downloaded manually until highway E

    I check several post in CSC and it seems a necessity to download manually create rather than through GUI.

    For me the two does not work and call crosses ExpresswayC and CUCM.

    I want to block call to highway E itself, when not authenticated or unknown user sends the RTC call from 9 and +.

    Kind regards

    RACLOT

    You need to have something in the original section, leave empty will only match calls that actually have an empty source field.

    An alternative to using a source address which is supposed to be mapped is to specify the area that runs through the call, in this case because it is an external call entering the highway-E, the appeal will also come from the default Zone.

    Replace:

    unauthenticated-origin=""
    With:
    originating-zone="DefaultZone"
  • event.keyCode works does not in Firefox

    When I use this validation. Works fine in IE. Does not not in firefox.
    Gives an error "undefined event".
    How to solve this problem in firefox?

    < input type = "text" name = "var_no" onKeyPress = "check (this); ">

    function check (obj) {}
    If (event.keyCode < 45 | event.keyCode > 57)
    {
    Alert ("correct to Enter value '");
    obj. Focus();
    event.keyCode = 0;
    }
    }

    Instead of
    event.keyCode = 0;
    Try
    Returns false;

    In addition, the alert is really distracting from a user perspective. Very intrusive.

    Some other visual cue, such as briefly to change the background of the box entry or even inserting text beside him, for example, is more user-friendly.

    obj.style.Background = "Red";

  • Canon LBP 2900 works does not in the Sierra

    Hey,.

    Guys, 2900 canon printer worked very well... .but after sierra update does not

    no idea...

    Thank you

    It is possible that Canon is no longer support for this printer

    for macOS Sierra.  Wouldn't be surprising.  They dropped

    support for a large number of their printers in OS X and newer versions of Windows.

Maybe you are looking for

  • Satellite Pro C50 - battery empty?

    I have a laptop satellite c50 aged 4 months that I run on the power running.Imagine my surprise when I pulled the AC, with the fully charged icon, and the laptop has been cut? Does that mean that failure of the battery? If this is the case, is it har

  • Remote access to Airport extreme

    Remote access to the express airport using airport utility. Can someone help me with a step by step to allow the possibility for me to access my gen 6 ae around outside my home network?  I know some say that this is not without danger.  I know that s

  • registration of vi

    I use two different computers with LabVIEW, we use the 2009 version and the other 2010... They use the same files, all of which are created and saved by using the LabVIEW 2009. As a result, computers have been able to open all the vi. Now, I did an a

  • How to use the Script TCL EEM in router?

    Dear all, I have a TCl Script (it's 1 to test and understand). ********************************************** TEST.tcl ******************************************* : model cisco::eem:event_register_syslog "Interface FastEthernet0/0, changed State to.

  • my mouse on my toshiba c655 constantly jumps while typing

    when im typing like Im doing now, the mouse jumps in all directions who mess up my words.  Ive used the key FN + F9 option to activate the mouse does not work.