Discussion Board

Results 1 to 6 of 6

Hybrid View

  1. #1
    Registered User bryanrieger's Avatar
    Join Date
    Oct 2008
    Location
    Brighton, UK
    Posts
    20
    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 hp3's Avatar
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229
    which emulator are you using?

  3. #3
    Registered User bryanrieger's Avatar
    Join Date
    Oct 2008
    Location
    Brighton, UK
    Posts
    20
    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 16:44. Reason: jQuery not working correctly under WRT 1.0

  4. #4
    Regular Contributor hp3's Avatar
    Join Date
    Apr 2003
    Location
    Akron Ohio USA
    Posts
    229
    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 mleddet's Avatar
    Join Date
    Apr 2009
    Posts
    5
    Jquery full works for me on 5800 xpress music

  6. #6
    Registered User mail2kul's Avatar
    Join Date
    Mar 2006
    Posts
    4
    $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, 14:12
  3. Web application freezes key events processing
    By ten0s in forum Symbian C++
    Replies: 0
    Last Post: 2007-04-03, 17:22
  4. Catching events with RSystemAgent
    By d00mo in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved