gradez28 wrote:
Just curious, how exactly do you expect to be able to access a 0
object?
Are you thinking you can go: object.0.function()?
If so, regardless of how cool jQuery is, when an array's key uses
numerics, you simpy cannot access it as an object because objects must
start with an alpha character. I dont think there are any languages
that allow you do create/access an object that starts with a number.

That works pretty fine:

var o = {};
o['0property'] = 'bar';
o['1'] = 'one';


--Klaus

Reply via email to