On 19/10/2007, Mislav Marohnić <[EMAIL PROTECTED]> wrote:
> On 10/19/07, Viktor Kojouharov <[EMAIL PROTECTED]> wrote:
> >
> > Mislav, the problem is not whether you are interested in making this
> > work or not, the problem is that `new Element' doesn't behave like a
> > 'prototype' function, since it's not consistent across browsers.
>
> So, to make it work in IE we should special-case "onclick", "onsubmit" etc.
> not to be set with setAttribute.
>
> Any bright idea how we could differentiate those? Names beginning with "on"
> is out of the question.

How bad would it be if the "value" is detected as a function and then
an observe is done based upon the "name".

What is odd is that by passing a function as the value it works in IE
but not in FF.




-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to