If I'm not mistaken, anything can be used as a key if enclosed in quoted:
    f = {"float":"right"} // no problem
Rather than with implicit quotes:
    f = {float:"left"} // not so good

They can then be accessed via the array accessor
    f['float']; // no problem
But you'll get trouble if you try the dot accessor
    t.float; // problem

I think all of that's accurate.

-blair

Klaus Hartl wrote:
>
>> Something missing: Of course that could also be achieved by using 
>>
>> {"customerid":"47", "supplierid":"32", "asdf[]":[1243,1928], ...}
>
>
> Is "asdf[]" a valid key for a value?
>
>
> -- Klaus
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to