> > > var a[];
> > > $(':checkbox').each(function() {
> > >     if (this.id) a.push(this.id);
> > > });
> > > 
> > > 

> > I get this error:
> > missing ; before statement
> > var a[];
> > 
> > (curse my rudimentary javascript skills!)

> OK... It says there is a missing ; before the statement "var a[];".
> 
> What is before the "var a[];"?

Ah, forget my question. I wasn't paying attention! Should be "var a = [];",
of course.

-Mike


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

Reply via email to