Re: [Proto-Scripty] Re: Object extend magic

2010-09-01 Thread Johan Arensman
Also you cannot use the class keyword because it's reserved in javascript, you'll have to use className or 'class' between quotes in the objectliteral. There is a known bug in IE8 with creating elements with for example the Element constructor. In this case adding the classname with

[Proto-Scripty] Re: Object extend magic

2010-09-01 Thread RobG
On Sep 1, 6:54 pm, Richard Quadling rquadl...@gmail.com wrote: On 31 August 2010 20:16, kstubs kst...@gmail.com wrote: I notice that if I intend to add class to an element that I must use className and not class for my object.  But what if I intend to name my element?  What do you use