How to use getElementById the way prototype does

Just add the following function to your JavaScript code.

function $(id)
{
     return document.getElementById(id);
}

Page Comments (Click to edit)

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Powered by pmwiki-2.2.0-beta65