View Single Post
Old 02-19-2013, 08:13 AM   PM User | #16
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,452
Thanks: 0
Thanked 496 Times in 488 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Quote:
Originally Posted by StevenHu View Post
I wrote an article that included a simple way to incorporate a simple footer using Javascript and innerHTML.
It doesn't work when JavaScript is turned off!

Also writing output using innerHTML messes things up of you need JavaScript to be able to interact with those parts of the page - so a lot of the time it will not work with JavaScript turned on.

Including web page content should ALWAYS be done using server side processing.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote