or, even better, you can use an Object,
{ 'a': 'a value',
'b': 'b value',
'c': 'another value'}
On 2/8/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
> $.getJSON(mypage.php, function(data) {
> var a = data.a;
> var b = data.b;
> // etc
> });
Oops. That should read:
var a = data[0];
var b = data[1];
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/