
Originally Posted by
Ntrimgs
I've noticed by looking at the code of a lot of websites, that most of them use Java Script in place of PHP. Is there a good reason for this? Is Java Script better to use than PHP?
PHP is used server-side, JavaScript is client-side. The one is not used in place of the other.

Originally Posted by
Ntrimgs
I've seen sites where they use Java Script for links, even if the links have no rollover images or anything. Instead they could use simple anchor tags but they add Java Script to it. Why?
This creates accessibility problems; the link does not work when JavaScript is disabled. It's very bad practice to do this. http://javascript.about.com/od/hints...scriptlink.htm
At least 98% of internet users' DNA is identical to that of chimpanzees
Bookmarks