jquery notes 2

satya - Thursday, June 16, 2011 9:51:54 AM

jquery notes 1: previous notes

jquery notes 1: previous notes

satya - Thursday, June 16, 2011 9:53:22 AM

For testing and demo purposes I have seen the followign url used


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

satya - Thursday, June 16, 2011 9:55:20 AM

Here is how you can invoke a function when the document finsihed loading


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

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

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