×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Oct 2008
    Location
    Brighton, UK
    Posts
    20

    Unhappy jQuery click() events not working in WRT

    Hello,

    I'm currently experimenting with jQuery in WRT (3rd Ed FP2 Emulator, N79) using Aptana + WRT plugin. I have the following code that works fine in the Aptana WRT Preview, but fails to work in the Emulator or device. The onclick never is never received/fires.

    I am using the latest jquery 1.3 - if that makes any difference.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <script type='text/JavaScript' src="jquery-1.3.min.js"></script>

    <script type='text/JavaScript'>
    $(document).ready(function(){
    $("div").click(function () {
    $(this).hide('slow');
    });
    });
    </script>
    <style>
    div { margin: 0px; width: 100px; height: 80px; background: green; position: relative; }
    </style>
    </head>
    <body>
    <div id="myElement"></div>
    </body>
    </html>

  2. #2
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: jQuery click() events not working in WRT

    which emulator are you using?

  3. #3
    Registered User
    Join Date
    Oct 2008
    Location
    Brighton, UK
    Posts
    20

    Re: jQuery click() events not working in WRT

    Just to follow up on this thread. It appears that this works just fine an the 5800 XpressMusic (WRT 1.1), but not on the N79 or N95 (with updated firmware).

    A little more testing via Nokia Remote Device Access indicates (as hp3 mentions) that jQuery does indeed NOT work correctly with devices supporting WRT 1.0.
    Last edited by bryanrieger; 2009-01-21 at 17:44. Reason: jQuery not working correctly under WRT 1.0

  4. #4
    Regular Contributor
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229

    Re: jQuery click() events not working in WRT

    I seem to recall a post about jquery not working correctly with WRT 1.0, which would correspond to N79,95.

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    5

    Re: jQuery click() events not working in WRT

    Jquery full works for me on 5800 xpress music

  6. #6
    Registered User
    Join Date
    Mar 2006
    Posts
    4

    Re: jQuery click() events not working in WRT

    $document.onready() works fine on S60 3.2 device with Jquery 1.2.6-mini.js. other functions may not work properly

    Regards,

    Mallik

Similar Threads

  1. Playing MIDI events not working?
    By codepatch in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2009-06-10, 10:23
  2. How to handle events (e.g. button click)
    By ViRuSTriNiTy in forum Symbian User Interface
    Replies: 2
    Last Post: 2008-01-02, 15:12
  3. Replies: 0
    Last Post: 2007-04-03, 17:22
  4. Catching events with RSystemAgent
    By d00mo in forum Symbian
    Replies: 3
    Last Post: 2005-06-27, 18:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×