Displaying 1 result from an estimated 1 matches for "selectcity".
Did you mean:
select_city
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