Skip to content

Instantly share code, notes, and snippets.

@e2kaneko
Created December 29, 2010 06:54
Show Gist options
  • Save e2kaneko/758281 to your computer and use it in GitHub Desktop.
Save e2kaneko/758281 to your computer and use it in GitHub Desktop.
prototype.js onload event
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" />
Event.observe(window, "load", onload, false);
function onload(){
alert("onload");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment