jquery notes 2

jquery notes 1: previous notes


<script type="text/javascript" 
src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js">
</script>

<script>
$(document).ready(somefunction);

function somefunction()
{
  alert('hello');
}
</script>

Ofcourse one can always use annonymous function instead of a named function