| Prototype extends HTML Elements with functions that proxy to the Element class. So "remove()" is really calling "this.remove()", which gets proxied to "Element.remove(this)", which removes the <input> element. I would recommend renaming the remove function. On Oct 20, 2006, at 3:26 PM, Michael Peters wrote:
|
- [Rails-spinoffs] Element.remove() function clash Michael Peters
- [Rails-spinoffs] Re: Element.remove() function clash Ryan Gahl
- [Rails-spinoffs] Re: Element.remove() function cla... Michael Peters
- [Rails-spinoffs] Re: Element.remove() function clash Brad Ediger
