search for: asetattributes

Displaying 1 result from an estimated 1 matches for "asetattributes".

Did you mean: setattributes
2006 Jan 11
2
RE: extending the Element.prototype to provide asetAttributes function
...mane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Jeremy Kitchen Sent: Wednesday, January 11, 2006 12:34 PM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails-spinoffs] extending the Element.prototype to provide asetAttributes function Hi folks, I''m pretty new to javascript and prototype, so I just want to get some peer-review on a function I wrote that makes a handy (at least, it seems handy) way to set a group of attributes on an element easily. Object.extend(Element.prototype, { setAttributes: function(...