Displaying 1 result from an estimated 1 matches for "selectc".
Did you mean:
select
2007 Nov 04
2
Extending DOM elements addressed by "this"
I have a function that needs to be attached to a bunch of text fields
when the page loads. I would like to use the Prototype methods that
are added to DOM elements by using the $() function, but I in the
function it refers to things with "this". For example,
this.style.borderColor.
Is there a way to extend elements from the kind of scope I am looking
at? For example, is there a way to