Posted By

silviud on 07/05/10


Tagged

javascript


Versions (?)

$ function


 / Published in: JavaScript
 

URL: silviud.blogspot.com

  1. /*
  2. * neat shortcut for document.getElementById
  3. */
  4.  
  5.  
  6. function $ (id){
  7. return document.getElementById(id);
  8. }

Report this snippet  

You need to login to post a comment.