[jQuery] Re: Ajax Data Format Recommendation

2007-05-21 Thread SamCKayak
I found JSON on the return trip to work fine. Sometimes the answers come to me as soon as I post. Sam

[jQuery] Re: Ajax Data Format Recommendation

2007-05-21 Thread Christopher Jordan
Sam, Instead of $.get()... I'd use $.ajax(). Check out this post from Brian Ronk http://groups.google.com/group/jquery-en/browse_frm/thread/ec2eca0746d2d5f4/37389139ca16ab64?lnk=gstq=getJSON%28%29+or+post%28%29+parameter+questionrnum=1#37389139ca16ab64 on basically the same subject. Read my

[jQuery] Re: Ajax Data Format Recommendation

2007-05-21 Thread Christopher Jordan
Oops... I typed out my examples too fast. That first example of the data parameter should read: data: MyVar1= + myJSVar1 + MyVar2=SomeConstantString; I forgot the ampersand. *sheepish grin* Cheers, Chris Christopher Jordan wrote: Sam, Instead of $.get()... I'd use $.ajax(). Check out this