[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-23 Thread Ajay Sharma
, > function(json) { >$.each(json, function(i) { > json[i] // current top level index >}) > } > ) > > On Jul 22, 7:30 pm, Ajay Sharma wrote: > > even am having issue with a simple GET request using the GETJSON > > method...could anyone please p

[jQuery] Re: Parsing a complicated JSON file with JQUERY !

2009-07-22 Thread Ajay Sharma
lease refer to manual > > > section about Built-in behaviors for more information). Let's set up a > > > few models so we can see how bindModel() and unbindModel() work. We'll > > > start with two models: This association creation and destruction is > > > done using the CakePHP model bindModel() and unbindModel() methods. > > > (There is also a very helpful behavior called \"Containable\", please > > > refer to manual section about Built-in behaviors for more > > > information). Let's set up a few models so we can see how bindModel() > > > and unbindModel() work. We'll start with two models: > > > ","visible":"1","Category":{"id":"1","name":"CSS"},"Comment": > > > [{"id":"2","post_id":"1","date":"2009-07-22 14:10:00","content":"Nice > > > TUTO ,Keep it up Dude!","userName":"Reda","a_url":"http:\/\/ > > > k...@hani.bikhir","e_mail":"ma...@gmailika.hy","showMail":"1"}, > > > {"id":"6","post_id":"1","date":"2009-07-22 14:38:00","content":"Nice > > > TUTO ,Keep it up Dude!","userName":"reda","a_url":"http:\/\/ > > > url.com","e_mail":"m...@mail.fr","showMail":"1"}]}}]},{"Post": > > > {"id":"2","category_id":"1","title":"Beginning CSS","date":"2009-07-21 > > > 22:41:00","content":"Courses 4 Dummies . Beginning > > > CSS","visible":"1"},"Category":{"id":"1","name":"CSS","Post": > > > [{"id":"1","category_id":"1","title":"CSS > > > Mastering","date":"2009-07-21 22:40:00","content":"How 2 CSS Master in > > > 5 Days :D ,This association creation and destruction is done using the > > > CakePHP model bindModel() and unbindModel() methods. (There is also a > > > very helpful behavior called \"Containable\", please refer to manual > > > section about Built-in behaviors for more information). Let's set up a > > > few models so we can see how bindModel() and unbindModel() work. We'll > > > start with two models: This association creation and destruction is > > > done using the CakePHP model bindModel() and unbindModel() methods. > > > (There is also a very helpful behavior called \"Containable\", please > > > refer to manual section about Built-in behaviors for more > > > information). Let's set up a few models so we can see how bindModel() > > > and unbindModel() work. We'll start with two models: This association > > > creation and destruction is done using the CakePHP model bindModel() > > > and unbindModel() methods. (There is also a very helpful behavior > > > called \"Containable\", please refer to manual section about Built-in > > > behaviors for more information). Let's set up a few models so we can > > > see how bindModel() and unbindModel() work. We'll start with two > > > models: ","visible":"1","Category":{"id":"1","name":"CSS"},"Comment": > > > [{"id":"2","post_id":"1","date":"2009-07-22 14:10:00","content":"Nice > > > TUTO ,Keep it up Dude!","userName":"Reda","a_url":"http:\/\/ > > > k...@hani.bikhir","e_mail":"ma...@gmailika.hy","showMail":"1"}, > > > {"id":"6","post_id":"1","date":"2009-07-22 14:38:00","content":"Nice > > > TUTO ,Keep it up Dude!","userName":"reda","a_url":"http:\/\/ > > > url.com","e_mail":"m...@mail.fr","showMail":"1"}]}, > > > {"id":"2","category_id":"1","title":"Beginning CSS","date":"2009-07-21 > > > 22:41:00","content":"Courses 4 Dummies . Beginning > > > > ... > > > > read more ยป -- Ajay Sharma

[jQuery] Re: Json GET Method

2009-07-20 Thread Ajay Sharma
n data returned by the service. > > > > am a total newbie. > > any help wil be appricitd. > > > > Jayz > -- Ajay Sharma