At the core, this is a javascript question but I\'m interfacing the event with jQuery.
Here\'s an example case:
the $.ready script executes after the page is fully loaded, as the onload event does, however if an inline script is found then it is executed.
$.ready
as the onload event does