Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] My first JSON object
- Date: Sun, 04 Jul 2010 13:36:59 +0900
- From: Dave M G <dave@example.com>
- Subject: Re: [tlug] My first JSON object
- References: <4C1C3348.90506@example.com> <20100619044940.GA18726@example.com> <4C23481B.1090904@example.com> <20100625080744.62b6b298.gstewart@example.com> <32853.61.193.161.149.1277458953.squirrel@example.com> <4C25510C.3090002@example.com> <20100626083312.3f29d97d.gstewart@example.com> <4C26F2F4.80600@example.com> <20100627173336.e2533f06.gstewart@example.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
Darren, Godwin, Simon, Fredric, TLUG, Thank you for the advice.I'm sold on the idea that I should use JQuery to handle all the fine print of JSON handling. However, I'm just a little fuzzy on how to use JQuery for this.Most of the examples I've looked at on the web use an additional Javascript file called json2.js, available from json.org. This doesn't seem to be a plug in for JQuery, but a separate (?) set of code for working with JSON, but I don't quite get what it does.Does JQuery not natively support JSON...? Beyond that, I just want to make sure I've got the code right.Assuming I have JQuery and json2.js loaded, I think to send JSON data to the server, I use this code:$.getJSON("http://myserver.com/jsonhandler.php", myJSONvariable, function(returnedJSON){});Will that send the data contained in myJSONvariable to jsonhandler.php, and then store the response from the server in a variable called returnedJSON?Thank you for all your help. -- Dave M G
- Follow-Ups:
- Re: [tlug] My first JSON object
- From: Fredric Fredricson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [OT] A Question About Degrees
- Next by Date: Re: [tlug] My first JSON object
- Previous by thread: Re: [tlug] Cultural differences
- Next by thread: Re: [tlug] My first JSON object
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links