[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-03 Thread Mike Alsup
> doRoquest() is triggered by body onload() event, but i got no data from my > url ( a controller page in a model glue app; then i modified the ajax call > from being sync to async, i.e. async:true, and all works fine: can someone > explain why only ajax sync calls work? > regards > salvatore Sy

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-03 Thread Salvatore FUSTO
can someone explain why only ajax sync calls work? regards salvatore - Original Message - From: "Dave Probert" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Sunday, March 02, 2008 7:57 PM Subject: [jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls > >

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Dave Probert
Hi Guys (again!), Tracked down the 'permission denied' part - I forgot to set the 'sandboxRoot' in the iframe to 'http://localhost/'. That stopped the error message, but now I get nothing! Nothing at all - no errors, no div content change, nothing. I tested that jQuery is actually working by a

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Dave Probert
Hi Guys, I've just installed Aptana with the AIR plugin. Nice program - better than when I previously tried it. The generated AIR project test file works fine as an AIR app, but modifying it just slightly to have jQuery.1.2.3 used and adding this code (below) to the auto-created 'forApplication

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Mike Alsup
> Might be a good time for Rey or someone to do a simple tutorial > page ;) (I would do one - if I could get it to work!) Here's a trivial example: $(function() { $('body').one('click',function() { $.get('htt

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Salvatore FUSTO
uery (English)" Sent: Sunday, March 02, 2008 11:43 AM Subject: [jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls Thanks Salvatore, I'll give Aptana another try - though I'm much more of a straight text editor user (and I have many macro's already defined for UltraEdit which is

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Dave Probert
Thanks Salvatore, I'll give Aptana another try - though I'm much more of a straight text editor user (and I have many macro's already defined for UltraEdit which is what I use mostly). For the general user though, a plain text tutorial (with no extra downloads required - apart from AIR/sdk and j

[jQuery] Re: Adobe AIR v1.0 and jQuery Ajax calls

2008-03-02 Thread Salvatore FUSTO
If you use aptana and it's air plugin, it can directly include the jquery library when compling the project; if you define a simple app with an application sandbox , an ajax call $("#myDiv").load(myUrl) invoked by $(document).ready() should work. salvatore - Original Message - From: