Calling jquery function with javascript -

i'm trying call fxn function outside $(document).ready(), can't working. returns referenceerror: fxn not defined.. missed?
because of way jquery works. error predictable.
what happening, declaration of fxn waiting until document ready. call method not. so, attempting in essence trying call function doesn't yet exist.
as per: http://learn.jquery.com/using-jquery-core/document-ready/
a page can't manipulated safely until document "ready." jquery detects state of readiness you. code included inside
$( document ).ready()run once page document object model (dom) ready javascript code execute. code included inside$( window ).load(function() { ... })run once entire page (images or iframes), not dom, ready.
Comments
Post a Comment