Revision: 2145
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 4, 2007 10:20 by noname
Initial Code
function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var element = arguments[i]; if (typeof element == 'string') element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements; }
Initial URL
Initial Description
It doesn't require prototype.js
Initial Title
The Prototype Dollar Function
Initial Tags
Initial Language
JavaScript