Thank you for sharing your thoughts on jQuery, felgall and WorldNews.
As I said, I'm better trying to formulate my opinion on when and when not to use it, and this helps.
I especially agree with felgall's point two. As they say, when the only tool you have is a hammer, everything starts to look like a nail 
So, to bring this back on topic:

Originally Posted by
WorldNews
But I am confused, well may be better say perplexed, by you saying that the function
setTimeout(update_user(), 10000);
should be called not from the <BODY Onload.....> but this JavaScript code should be placed inside the body of the page right
before the </body> tag!
As a rule of thumb, inline JavaScript, just like inline CSS is to be avoided where possible.
If you're curious why, just ask Google: http://www.google.com/search?q=why+a...ine+javascript
So, instead of writing:
HTML Code:
<body onload="alert("hello")>
it's better to write:
HTML Code:
<script>
window.load=function(){
alert("hello");
}
</script>
</body>
</html>
However, as felgall points out, it's normally sufficient to write:
HTML Code:
<script>
alert("hello");
</script>
</body>
</html>
Bookmarks