Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- How to define a global variable for all the functions


Rain_Lover - 5:13 pm on Jan 17, 2012 (gmt 0)


Dear penders and Fotiman,

Thanks for the answers and clarification!

@Fotiman,

No disagreement, but I just wonder what you think of the following:

Functions can be defined both in the <head> and in the <body> section of a document. However, to assure that a function is read/loaded by the browser before it is called, it could be wise to put functions in the <head> section.


Source: [w3schools.com ]


Thread source:: http://www.webmasterworld.com/javascript/4407663.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com