[BB10] jQuery click() does not work

Hello

I have a big problem with jQuery on WebWorks:




Description

and when I click on the item 'option hand' in the emulator Ripple , div "moreTrans" did not hide...

Of course jQuery is added to the application properly, because code:


hide the div to 'moreTrans' to start...

Thanks for help

I put JavaScript in the file and now everything works fine.

But thanks for the help

Tags: BlackBerry Developers

Similar Questions

  • Left click does not work in Hotmail or Yahoo

    I was running low disk space and my IT dept says: they removed some "temporary files". Everything they did watered IE so that she came back to v7 V8. They Redid the upgrade of IE and installed a bunch of updates to MS and updated Java, but I'm still having a problem in FF. Most of the sites are fine, but when I go to Yahoo or Hotmail email, left click does not work. I tried to uninstall/reinstall FF. I tried to launch FF in safe mode and reinstall some of the plugins I thought that might have effects. I still can't run. I used some of the tools web dev in FF, all I know is some of the errors that are reported on the loading of the page. On Hotmail, one is that a var called 'JQuery' is undefined, among others.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • Why ctrl + right click does not work with babylon dictionary windows 7

    Why ctrl + right click does not work with babylon 8 dictionary. I use a 64-bit windows 7.

    Hello

     
     
    1. facing this problem only with application of Babylon?
    2. it worked earlier?
     
    If you encounter this problem only with Babylon, I suggest you to post your request in the forum of the community of Babylon to better support on this issue.
    http://support.Babylon.com/
  • CTRL-click does not work with camelCase and PascalCase names

    I added a small example to reproduce the problem:

    create or replace view foobar as
    select 1 as id 
    from dual;
    
    -- Ctrl-click does not work
    select *
    from fooBar;
    
    -- Ctrl-click works as expected
    select *
    from foobar;
    
    -- Ctrl-click works as expected
    select *
    from FOOBAR;
    

    I tested on Oracle SQL Developer 4.1 ai2 (4.1.0.18.37)

    Yes, I see that bug

  • jQuery code does not work in phonegap

    Someone gave me a code https://jsfiddle.net/adeneo/2uod274d/ jsfiddle

    It works well in jsfiddle, but when I put the code in my Xcode and amended to incorporate my code and run it in the Simulator, the code does not work at all (i.e., no data is stored in the local storage)

    I am building an app for iOS with phonegap. JS:

    <script type="text/javascript" src="cordova.js"></script>
      
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
      
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js"></script>

      
    <script type="text/javascript">
      document.addEventListener("deviceready",onDeviceReady,false);

      function onDeviceReady() {

      document.getElementById("btnSave").addEventListener("click",saveData,false);
      document.getElementById("btnShow").addEventListener("click",showData,false);
    }

      function saveData(){
      var data = window.localStorage.getItem("date");

      var dates = data ? JSON.parse(data) : [];

      dates.push( new Date() );

      window.localStorage.setItem("date", JSON.stringify(dates));

      alert("Your data is stored");
      }

      function showData() {
      var data = JSON.parse(window.localStorage.getItem("date"));
      console.log(data);
      $('#res').html(JSON.stringify(data));
      $(this).html('Update result');
      }

    < /script >

    HTML:

    <button id="btnSave"> Save Data </button>

      
    <button id="btnShow"> Show Data </button>

    I don't know what is happening because the code works well in jsfiddle, but for some reason any just does not work in my phonegap.

    My version of phonegap 5.3.6 cordova version 5.3.3

    Post edited by: Fang Kerry, I added my complete code is easier to see the problem (if any)

    jQuery has nothing to do with this, as far as I can tell (so not sure why it is in your title). The problem is that the result of JSON.parse (data) is not an array, what you think it is, it's a chain. The chain respond well to 'push '. I get that when you use this code in jsfiddle he is somehow coming out as a table, but I think it must be because of something done jsfiddle. When I do the same commands in the console of my browser, I get a string, not a table, so your problem.

    Instead:

    function deserializeDates() {
        var data = window.localStorage.getItem("date");
        var dates = []; // worst case, we'll return an empty array.
        if (data) {
            try {
                dates = JSON.parse(data);
                 // handle the case that dates is a single item and not an array
                if (!(dates instanceof Array)) {
                    dates = [dates];
                }
            } catch (err) {
                 // the stored dates failed to parse for some reason; you might want to do something about it
                 console.log("Failed to parse " + data);
             }
        }
        return dates;
    }
    
    function serializeDates(dates) {
        window.localStorage.setItem("date", JSON.stringify(dates));
    }
    
    function saveData(){
         var dates = deserializeDates();
        dates.push( new Date() );
         serializeDates(dates);
        alert("Your data is stored");
    }
    
    function showData() {
         var dates = deserializeDates();
        console.log(dates);
        ...
      }
    
  • My mouse left click does not work in certain areas of frefox 10.0. Help

    In some areas of Firefox 10.0 left click on my touch pad does not work

    The extension of the Yahoo! toolbar and the extension of Babylon have been reported to cause a problem like that. Disable or uninstall the modules.

       * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    
  • Links from Google and long clicks does not work in Safari on iPad Air

    Safari does not open links in a new window.

    menu popup (long click on the link) does not work in safari

    "open in safari" option does not work in other applications (e.g., facebook)

    all these problems today.

    I look for iPad.

    I heard that problems can be due to a new version of iOS 9.3. But my camera has only iOS 9.2.1.

    What happened with safari?

    Unfortunately, it happens for some users with 9.2.1 as well. I think what we can do is to be patient, a solution will come.

  • Laptop Acer Aspire 5742Z-4685. Right-clicking does not work

    I introduce myself first, I'm 70 years old, a qualified electronic former Tech at the time we could not dianose componnet level for repairs. That's some 50 years ago, when "Transistors" were the most recent thing and the best around because the slices of bread, I kept my hand in all these years now, I generally pick up or buy laptops more elders or trays of office and repair install them a decent OS used XP but now finally agreed win 7 and use more.  Once started properly I sell them to local poor people in my area for what I have in them, and sometimes even give one to someone in need.  Just my way hopefully help someone at school and maybe have a better chance in life.

    The right click button does not work on the mouse pad, as well as a usb mouse. I used Acer to factory restore disks to restore it to out of box state. Same question. If you use the control panel to switch the buttons then the only thing that happens is the cursor move no click at all.  Also after a period of rental time computer warm up suddenly the cursor works, but even the left click will not work it will highlight the icon but not allow you to click on it. I wonder is the only solution to replace the motherboard as it seems to be a worse problem of heat.  Any help would be greatly appreciated.  And before I forget, Yes, I replaced the drivers a couple of both clean install so

    RichardDaigle66,

    Looks like you did everything I thought and much more. He makes it sound like a problem with the hardware at this stage and would require the replacement of the motherboard. Looks like that the southbridge is not working properly.

  • JQuery ScrollTo() does not work

    ScrollTo() JQuery Plugin will not work on the BlackBerry PlayBook. See http://flesler.blogspot.com/2008/02/jqueryserialscroll.html for more information about the plugin.

    It works fine in Chrome/FF and IE, but the PlayBook simply ignores. His coming to a point where I prefer one to create an accessible web application from PlayBook/iPad/Xoom rather than trying to run workarounds when widely used JQuery plugins are not supported.

    Simulator: 0.9.4

    SDK WebWorks: 1.0.0.13

    JQuery version: 1.5 (also tried 1.3.2)

    Here is the code:

    scrollTo works very well for me...

    have you tried to create a link and what actually scroll on a click event to see if it works?

    Also in your example, I don't see why something would scroll because technically the entire list would fit in the display window, unless you just give us a basic example. Your script should look like this

    $(document).ready(function() {
       $('div#contentLeft ul').scrollTo( 'li.playing', 800);
    });
    
  • Problem with the touchpad: Tap to click does not work if I use a standard account

    Hi all

    I have a problem with my laptop that I don't understand and I need help from the community.
    As the title says... If I connect to my laptop using a standard account the touchpad does not work if I try to tap to click. Left and right buttons work, move the slider works, works of scrolling, but endearing tape... not even a single tap. If I log in with my account as an administrator, the touchpad works like a charm, no problems. Tap to click and everything you want. If I disconnect the admin account and sign in as a standard user, the problems are back again. I can move the cursor, click on the two buttons (left, right), but I can't type to click...

    I tried to reinstall the driver for the touchpad (which is MOMENTUM...) but it did not. I tried to see if there is any option that can prevent this tapping or something... but in the control panel > Touchpad > Tap is turned on. A strange thing in the control panel of the Touchpad is that [when loggend as a standard user] I get an error "unhandled exception has occurred in your application. If you click on continue the application will ignore this error and attempt to continue. If you click on exit the application will close immediately. "and a new line saying"index was outside the bounds of the array. If I click on continue the error disappears, but reappears if stationary "double-tap" enable/disable option. If I click on leave the Touchpad Control Panel closes...

    All this trouble occurs only when I use the standard account. With the administrator account, I don't get any errors so I soar options, disable them, activate them and most importantly, the tap to click works.

    What is the problem with the standard account?

    I have Windows 7 Home Premium 64-bit Service Pack 1.

    Can someone help me please?

    Hi Johnxf,

    ·         Did you do changes on the computer before the show?

    As he works in an administrator account, then probably your standard user account have been damaged and would need a fix.

    Follow the article provided below to fix the corrupted user profile:

     

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    Let us know if that helps.

  • My right click does not work.

    My laptop is dv6-3150us

    I just got today.

    When I press on the right side of the trackpad, the context normal don't pop-up menu.

    I went to the settings of the mouse, and he says that the context menu has been activated, but it still does not work.

    Is this normal, or am I doing something wrong?

    You actually need, press on the area designated for the right click...

    Try it now...

  • For about two weeks the right click does not work in firefox, how to solve this?

    I have always used the Nightly of Firefox version, so I thought it was a bug in the new update. But now I have completely removed nightly and installed the normal Firefox, but still nothing happens after having right in the screen > in, for example the bar bookmarks, it does not work properly, but not anywhere while browsing!

    The application databases

    Name: Firefox
    Version: 32.0.3
    User Agent: Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0

    Reports of incidents for the last 3 days

    All Crash reports

    Extensions

    Name: Download YouTube videos to MP4
    Version: 1.7.28
    Enabled: true
    ID: {b9bfaf1c-a63f-47cd-8b9a-29526ced9060}

    Name: DownThemAll!
    Version: 2.0.17
    Enabled: true
    ID: {DDC359D1-844A-42a7-9AA1-88A850A938A8}

    Name: Clear Cache button
    Version: 2.7
    Enabled: true
    ID: {4cc4a13b-94a6-7568-370d-5f9de54a9c7f}

    Name: SoundCloud Downloader - Technowise
    Version: 0.87
    Enabled: true
    ID: {c8d3bc80-0810-4d21-a2c2-be5f2b2832ac}

    Name: convenience store
    Version: 1.1
    Enabled: true
    ID: [email protected]

    Name: avast! Online security
    Version: 9.0.2021.112
    Enabled: false
    ID: [email protected]

    Name: F.B. purity - cleans Facebook
    Version: 9.3.2
    Enabled: false
    ID: [email protected]

    Name: gTranslate
    Version: 0.9
    Enabled: false
    ID: {aff87fa2-a58e-4edd-b852-0a20203c1e17}

    Name: Lightbeam
    Version: 1.0.10.2
    Enabled: false
    ID: jid1-F9UJ2thwoAm5gQ@jetpack

    Name: TinEye Reverse Image Search
    Version: 1.1
    Enabled: false
    ID: [email protected]

    Graphics

    Description of the adapter: ASUS AH3650 Series
    Drivers: atiumdag atiumdva atitmmxx
    RAM card: unknown
    ClearType settings: Gamma: Structure of 2200 pixels: ClearType R level: 100 improved contrast: 100
    Device ID: 0 x 9596
    Direct2D Enabled: Blocked for your version of the graphics driver. Try to update your driver graph version 9.6 or newer.
    DirectWrite Enabled: false (6.2.9200.16492)
    Driver date: 01/09/2008
    Driver version: 8.452.0.0
    GPU #2 Active: false
    GPU accelerated Windows: 0/2 base (OMTC) blocked for your version of the graphics driver. Try to update your driver graph version 9.6 or newer.
    Vendor ID: 0 x 1002
    WebGL Renderer: Blocked for your version of the graphics driver. Try to update your driver graph version 9.6 or newer.
    windowLayerManagerRemote: true
    AzureCanvasBackend: skiing
    AzureContentBackend: Cairo
    AzureFallbackCanvasBackend: Cairo
    AzureSkiaAccelerated: 0

    Important change preferences

    accessibility.typeaheadfind.flashBar: 0
    Browser.cache.Disk.Capacity: 358400
    Browser.cache.Disk.smart_size_cached_value: 358400
    Browser.cache.Disk.smart_size.first_run: false
    Browser.cache.Disk.smart_size.use_old_max: false
    Browser.cache.frecency_experiment: 4
    browser.places.smartBookmarksVersion: 7
    browser.search.useDBForOrder: false
    browser.sessionstore.upgradeBackup.latestBuildID: 20140923175406
    Browser.Startup.homepage: topic: Home
    Browser.Startup.homepage_override.buildid: 20140923175406
    Browser.Startup.homepage_override.mstone: 32.0.3
    Browser.Tabs.Remote.AutoStart: true
    dom.mozApps.used: true
    extensions.lastAppVersion: 32.0.3
    font.internaluseonly.Changed: false
    make. Name.sans - serif.x - West: Cambria
    make. Name.Serif.x - West: Cambria
    GFX. Direct2D.disabled: true
    GFX. Direct3D.last_used_feature_level_idx: 0
    keyword. URL: https://www.google.com/search
    layers. Acceleration.Disabled: true
    Media.GMP - gmpopenh264.lastUpdate: 1405814443
    Media.GMP - gmpopenh264.path: C:\Users\Ramon\AppData\Roaming\Mozilla\Firefox\Profiles\cflwd3c1.default\gmp-gmpopenh264
    Media.GMP - gmpopenh264.version: 1.0
    Media.GMP - manager .lastCheck: 1411894750
    network.cookie.prefsMigrated: true
    places.database.lastMaintenance: 1411894888
    places. History.expiration.transient_current_max_pages: 33538
    plugin.disable_full_page_plugin_for_types: application/pdf,application/vnd.fdf
    plugin.importedState: true
    plugin. State.npezffpi: 0
    plugin. State.npovshelper: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_bgcolor: false
    Print.printer_Foxit_Reader_PDF_Printer.print_bgimages: false
    Print.printer_Foxit_Reader_PDF_Printer.print_colorspace:
    Print.printer_Foxit_Reader_PDF_Printer.print_command:
    Print.printer_Foxit_Reader_PDF_Printer.print_downloadfonts: false
    Print.printer_Foxit_Reader_PDF_Printer.print_duplex: 1515870810
    Print.printer_Foxit_Reader_PDF_Printer.print_edge_bottom: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_edge_left: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_edge_right: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_edge_top: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_evenpages: true
    Print.printer_Foxit_Reader_PDF_Printer.print_footercenter:
    Print.printer_Foxit_Reader_PDF_Printer.print_footerleft: & PT
    Print.printer_Foxit_Reader_PDF_Printer.print_footerright: & D
    Print.printer_Foxit_Reader_PDF_Printer.print_headercenter:
    Print.printer_Foxit_Reader_PDF_Printer.print_headerleft: & T
    Print.printer_Foxit_Reader_PDF_Printer.print_headerright: & U
    Print.printer_Foxit_Reader_PDF_Printer.print_in_color: true
    Print.printer_Foxit_Reader_PDF_Printer.print_margin_bottom: 0.5
    Print.printer_Foxit_Reader_PDF_Printer.print_margin_left: 0.5
    Print.printer_Foxit_Reader_PDF_Printer.print_margin_right: 0.5
    Print.printer_Foxit_Reader_PDF_Printer.print_margin_top: 0.5
    Print.printer_Foxit_Reader_PDF_Printer.print_oddpages: true
    Print.printer_Foxit_Reader_PDF_Printer.print_orientation: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_page_delay: 50
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_data: 9
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_height: 11 h 00
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_name:
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_size_type: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_size_unit: 1
    Print.printer_Foxit_Reader_PDF_Printer.print_paper_width: 8.50
    Print.printer_Foxit_Reader_PDF_Printer.print_plex_name:
    Print.printer_Foxit_Reader_PDF_Printer.print_resolution: 1515870810
    Print.printer_Foxit_Reader_PDF_Printer.print_resolution_name:
    Print.printer_Foxit_Reader_PDF_Printer.print_reversed: false
    Print.printer_Foxit_Reader_PDF_Printer.print_scaling: 1.00
    Print.printer_Foxit_Reader_PDF_Printer.print_shrink_to_fit: false
    Print.printer_Foxit_Reader_PDF_Printer.print_to_file: false
    Print.printer_Foxit_Reader_PDF_Printer.print_unwriteable_margin_bottom: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_unwriteable_margin_left: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_unwriteable_margin_right: 0
    Print.printer_Foxit_Reader_PDF_Printer.print_unwriteable_margin_top: 0
    privacy.sanitize.migrateFx3Prefs: true
    Storage.vacuum.Last.index: 1
    Storage.vacuum.Last.places.sqlite: 1411212643

    JavaScript

    Incremental GC: true

    Accessibility

    Enabled: false
    Prevent accessibility: 0

    Versions of the library

    NSPR
    The expected minimum version: 4.10.6
    Version: 4.10.6

    NSS
    The expected minimum version: 3.16.5 based ECC
    Version: 3.16.5 based ECC

    NSSSMIME
    The expected minimum version: 3.16.5 based ECC
    Version: 3.16.5 based ECC

    NSSSSL
    The expected minimum version: 3.16.5 based ECC
    Version: 3.16.5 based ECC

    NSSUTIL
    The expected minimum version: 3.16.5
    Version: 3.16.5

    Experimental features

    You always use the same profile folder you used with the Nightly build (35.0a1)?

    If you do, then you must create a new profile.

    See "create a profile":

    If the new profile works then you can transfer files from a profile already used in the new profile, but be careful not to copy files corrupted to avoid transporting more problems.

    With the decommissioning of a Nightly build might be unstable, you should be still more restrictive with what to retrieve.

  • jQuery dialog does not work

    My application uses jQuery that dialogue should display a message the first time that passes from the user to the screen. He does not appear.

    In page 0:
    Region of dialog boxes HTML
    Point of view before the footer
    Sequence 1010
    Source:
    <div id="alert-dialog" style="display:none">
    <p id="alert-dialog-text"></p>
    </div>
    In page 2:
    Region of Instructions HTML
    Point of view before the footer
    Sequence of 1009
    Source:

    & nbsp;

    Footer area
    <script type="text/javascript">
        firstTime = $v ('P2_FIRST_TIME');
        if (firstTime != "N" || firstTime == null)
           {
       $("#alert-dialog-text").text("Answer each of the following questions completely to the best of your ability. Read all instructions before answering the questions. If you have any questions about completing the form, contact the attorney designated under the Code of Ethics and Financial Disclosure.");
       $("#alert-dialog").dialog('open').dialog("option","title","Instructions").dialog("option", "width", 460 );
            } ;
    </script>
    Elements
    Region: Instructions
    Text P2_FIRST_TIME field

    He worked at the same time. Then I did something (I forget what) for the poster does not temporarily.

    Now, I need to display it.

    Can anyone help? Jari helped me last time, but if Jari is too busy and someone else can help, I would be grateful. (The 1st person who gets it right, I'll give him 'Correct' Points, others I'll give you Points of 'Help')

    APEX 3.2.1.00.12
    DB Oracle 10g Rel 2

    Robert
    http://apexjscss.blogspot.com

    Hello

    Try

    
    

    If JavaScript is executed after all the HTML document is ready

    Kind regards
    Jari

  • Double click does not work

    Hello community,

    Double-click no longer works.

    I tried the suggestions from the user to slow the speed of the pursuit.

    I have logged in safe mode and noticed when I am in guest mode, double click works, but not in my user account.

    Where should I go from here? It seems apparent to something in my settings of the user.

    Thank you!

    10.9.5 OSX

    System Preferences > Trackpad Point & Click

    Uncheck and recheck the boxes next to all the items listed.

    Best.

  • Mouse click does not work in some programs

    My mouse clicker stops clicking when I try to open my favorites, history or change from one program to the other.   Can someone help me.

    Thank you, Carol

    Hello

    1 - is a desktop or a laptop?

    2. What is the serial number and model of the mouse?

    Method 1 : perform the steps in the article and check if the problem is solved or not.

    The problems with the mouse button or scroll the parameters

    Method 2 : create a new user account and check if the problem is resolved or not. If the problem does not persist then you can fix the damaged user account.

    Create a user account

    Difficulty of a corrupted user profile

    Hope that helps.

Maybe you are looking for