[jQuery] Re: can't create objects inside getJSON

2009-09-21 Thread cerberos
Thanks, it works. Is there a reason why the object notation I used doesn't work?

[jQuery] Re: can't create objects inside getJSON

2009-09-21 Thread MorningZ
how about some different object notation? $.getJSON( "http://domain.com/data";, function (data) { var state = { select: $("#id_state"), div: $("div_id_state"), children: $("#id_region,#id_destination") }