There a many situations where you need to check if a page and its elements are available to update or alter via JQuery. Example include activating JQuery animations, reading the contents of an iframe or interacting with Flash.
There are two JQuery commands that should be part of every web developers tool kit when dealing with dynamic JQuery content.
The first is JQuery $(document).ready() handler.
E.g.
$(document).ready(function(){ //do stuff });



