[jQuery] Re: Oddity with Jquery and Adobe AIR

2008-09-12 Thread Andy Matthews
-Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gecko68 Sent: Thursday, September 11, 2008 8:16 PM To: jQuery (English) Subject: [jQuery] Re: Oddity with Jquery and Adobe AIR Yes the click event works. But it will require a lot more programming since

[jQuery] Re: Oddity with Jquery and Adobe AIR

2008-09-11 Thread Andy Matthews
Why are you using onclick attributes? jQuery supports the click event natively (which also works in AIR apps: Looks like for your HTML the jQuery might be this: $('span.pageName a').click(function(){ // do something here }); This has the added benefit of cleaning up your HTML and

[jQuery] Re: Oddity with Jquery and Adobe AIR

2008-09-11 Thread gecko68
Yes the click event works. But it will require a lot more programming since the HTML being added is generated via Ajax. I guess I could bring the data in via json and assemble the HTML objects from within the original script. I am curious why it works in safari but not webkit/air. Thanks for the