Prototype and Scriptaculous
These are snippets that I cannot yet remember by heart:
script type="text/javascript"
Event.observe(
window,
'load',
function() {
alert('put code here');
if ( $('notes') ){
// do stuff here
}
}
);
/script
Comments