[Proto-Scripty] Re: How do you add methods to Form.Element
On Mar 7, 2009, at 5:58 PM, kangax wrote: > > On Mar 7, 4:34 pm, Walter Lee Davis wrote: >> I have this little bit of fluff: >> >> Element.addMethods({ >> addText: function(input, theText) { >> if(typeof input.selectionStart != >> 'undefined'){
[Proto-Scripty] Re: How do you add methods to Form.Element
On Mar 7, 4:34 pm, Walter Lee Davis wrote: > I have this little bit of fluff: > > Element.addMethods({ > addText: function(input, theText) { > if(typeof input.selectionStart != 'undefined'){ > var start = input.select