How to use getElementById the way prototype does
Just add the following function to your JavaScript code.
function $(id)
{
return document.getElementById(id);
}
[Click to add or edit comments])
Please prepend comments below including a date