Tony's right of course. Though I think the OP understands my response was to
illustrate the concept.


On Wed, Nov 17, 2010 at 6:39 PM, Tony Bentley
<[email protected]>wrote:

>
> You should be doing the following:
>
> <head>
>
> set all of your global vars first...
>
> <script>
>  //global vars
> </script>
>
> load all scripts after.....
>
> <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
> <script type="text/javascript"
> src="jquery.ui/jquery.ui.core.min.js"></script>
>
> then run the jquery onload event...
>
> <script>
>  $(document).ready(function(){//functions on page load go here});
> </script>
> </head>
>
> Which will set everything without needing to load the document first.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339341
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to