Posted By

tylerhall on 11/01/06


Tagged

javascript onload attach


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

rnrleachryan


Unobtrusively Attach onLoad Event


 / Published in: JavaScript
 

Unobtrusively attaches an onLoad event to the window.

  1. window.onload = function() { document.getElementById("email").focus(); };

Report this snippet  

You need to login to post a comment.