Need advice

0 views
Skip to first unread message

Fray

unread,
Nov 5, 2009, 12:26:03 PM11/5/09
to Prototype & script.aculo.us
People:
I need a very good name for my shortcut function to getAttribute
(). I´m extending Element to do
element.whatevername('href').
I need a very short and exquisit name for that. Any sugestions?

Alex McAuley

unread,
Nov 6, 2009, 12:32:39 PM11/6/09
to prototype-s...@googlegroups.com
err

getAttr..

$a ???



Alex Mcauley
http://www.thevacancymarket.com

Brian Williams

unread,
Nov 6, 2009, 12:51:41 PM11/6/09
to prototype-s...@googlegroups.com
Easy!

$e.peek(attrib)
Reply all
Reply to author
Forward
0 new messages