Permissions
Tag this page
Edit this page
Save your edits
Done editing
Login
About Me
Toby Ho
lives in Atlanta, talks about programming, tech, and other stuff.
By Topic
programming
tech
gadgets
music
Links of Interest
Projects
On github
Delicious bookmarks
last.fm profile
Shows I listen to
Blogs I read
On twitter
On Stackoverflow
Prototype's Element dot extend
About
crossbrowser
,
javascript
,
programming
and
prototype
Element.extend is an important method is the prototype framework. It adds all the helper/mixin methods to a dom element, like this:
Element.extend(myElem);
If for some reason you have to do this manually(probably in IE), this is what you need.
Leave Comment
Name:
Email:
Website:
optional
Write your comments here.