Fwd: [jQuery] Re: getJSON callback not firing?

2009-09-26 Thread Felspar
Begin forwarded message: > From: Igor Romero > Date: September 26, 2009 AM 04:22:07 GMT+08:00 > To: jquery-en@googlegroups.com > Subject: Re: [jQuery] Re: getJSON callback not firing? > > can try this out > > function ajaxSucceed(result){ > alert(result.d);

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Rick Faircloth
an consider myself at least a well-versed, basic programmer. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of MorningZ Sent: Friday, September 25, 2009 11:19 PM To: jQuery (English) Subject: [jQuery] Re: getJSON callback not firing?

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread MorningZ
"the method as "post", occasionally venturing to use "get" when just retrieving data, just to see what might happen.nothing different. " Wow, really? knowing the difference between GET an POST are pretty fundamental things to know as a programmer http://www.google.com/search?q=get+vs+post It'

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Rick Faircloth
Hang in there, Charlie! My head was very bloody from banging it against the wall when I first started down the AJAX road. Now I'm finally getting some work done with it! I almost gave up several times. fwiw, I have always used the $.ajax method without any problems and typically specify

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread MorningZ
$.getJSON is a convenience/wrapper method around the $.ajax call... so is $.getScript and $.get and $.post just open up the unpacked version of jQuery and search for "getJSON" and you'll see this first hand On Sep 25, 3:07 pm, Charlie Griefer wrote: > Z: thanks for the response.  I'm making my

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
Z: thanks for the response. I'm making my initial foray into using jQuery for AJAX (up 'til now, had only used it for page manipulations). Given your response... would there ever be a situation where .getJSON() would be preferable to .ajax()? It seems odd that jQuery would have 2 methods that es

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread MorningZ
I'd suggest using the more generic $.ajax method so you can actually catch the error, as the $.getJSON fails silently, which is no good for programmers :-( $.ajax({ type: GET, url: "your URL", processData = true, data: {}, dataType: "json", success: function(json) {

[jQuery] Re: getJSON Callback not firing

2008-05-09 Thread Tane Piper
Never mind, worked it out in the end. On 9 May, 13:45, Tane Piper <[EMAIL PROTECTED]> wrote: > Hey folks, > > I'm trying to work on some cross-site stuff, and I'm using JSON between > the domains to transfer the data. > > In my below code, the code fires the .getJSON, and I can see the JSON in >