Sitthykun,  yes it does.

Hi Sanford, you need to use $() on Elements for IE but it's not for
performance reasons, it'se because on IE6/7 you can't add methods to the
Element.prototype. I think you were talking about not extending the
event.target Element.

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces


On Wed, Dec 16, 2009 at 4:57 AM, Sitthykun LY <[email protected]>wrote:

> thank Sandy,
>
> IE8 does not support addEvent('submit', function(){})
>
> Even if I coded: $('formId').addEvent('submit', function(){}); or
> document.id('formId').addEvent('submit', function(){})
>
> On Wed, Dec 16, 2009 at 12:51 PM, Sanford Whiteman <
> [email protected]> wrote:
>
>> > Message: Object doesn't support this property or method
>> > Line: 8
>>
>> Wrap references to native elements in $() for IE... in other browsers,
>> they  are  automatically extended with Moo methods, but in IE you have
>> to do it manually for performance reasons.
>>
>> -- Sandy
>>
>>
>
>
> --
> Best regards,
> Sitthykun LY
>

Reply via email to