[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Karl Swedberg
On Mar 9, 2009, at 4:05 PM, Thomas Allen wrote: Oh, I thought that was a recommended practice to reduce bugs when changing the number of items in an object. Thanks! It is a recommended practice in PHP, but not in JavaScript. --Karl On Mar 9, 9:58 am, pete higgins wrote: .c

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread Thomas Allen
Oh, I thought that was a recommended practice to reduce bugs when changing the number of items in an object. Thanks! Thomas On Mar 9, 9:58 am, pete higgins wrote: > >            .css({ > >                'display': 'block', > >                'text-align': 'right', > >            }) > > stray c

[jQuery] Re: A simple jQuery script that throws errors and fails in IE6-7. Thoughts?

2009-03-09 Thread pete higgins
>            .css({ >                'display': 'block', >                'text-align': 'right', >            }) stray comma, after 'right' http://jslint.com Regards, Peter