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>
Re: jQuery click() events not working in WRT
which emulator are you using?
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 [URL="http://apu.ndhub.net/"]Nokia Remote Device Access[/URL] indicates (as hp3 mentions) that jQuery does indeed NOT work correctly with [URL="http://library.forum.nokia.com/topic/Web_Developers_Library/GUID-1A3ECAC1-3F09-4602-A1CD-82164040A664.html"]devices supporting WRT[/URL] 1.0.
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.
Re: jQuery click() events not working in WRT
Jquery full works for me on 5800 xpress music
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