> So it's probably a good and safe practice to quote > all the element property names, right?
Not necessarily a bad idea, although in practice I suspect the list of reserved words[1] is pretty set at this point (and I should have said JavaScript or ECMAScript, not JScript; "class" is reserved by the spec, not by Microsoft), and quoting all of them will involve a lot of technically-unnecessary quoting. "class" is the biggie people run into, but yes, if in any doubt... (Naturally, you'll want to watch this in general, not just when supplying options to Element's constructor; "var class" could get you into trouble, for instance.) [1] http://www.ecma-international.org/publications/standards/Ecma-262.htm -- T.J. :-) On Oct 30, 6:08 pm, "Brandon Casci" <[EMAIL PROTECTED]> wrote: > Thanks was it. Thanks for the help. Though a slew of new IE issues are > popping up now, fun fun!. So it's probably a good and safe practice to quote > all the element property names, right? [snip] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---