On 6 Dez., 11:06, Cédric Bertolini <[email protected]> wrote:
> Hi Andrea,
>
> Could you expand on this topic? I'm constantly attaching plain objects to
> DOM objects and I've never had any problem on that matter. How would you
> keep a link between host objects and applications objects elsewise?

Wrappers? Lookup tables? Whatever, I've never touched host objects and
it was easy enough to keep them linked to my JS objects.

> I do things like:
> var controller ={ state: 'valid', checkValue: function(){...} };
> myInput._controller = controller;

Kangax has written a lengthy article about possible (and likely)
problems:

http://perfectionkills.com/whats-wrong-with-extending-the-dom/

Gregor

--
http://vxweb.net

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to