javascript in <head> or in <body> ?

From: Date: Tue, 07 Aug 2007 20:19:43 +0000
Subject: javascript in <head> or in <body> ?
Groups: php.general 
Request: Send a blank email to php-general+get-260305@lists.php.net to get a copy of this message
Are there any rules when to include javascript in <head> or in <body> ? For example, <script type="text/javascript"> function reload(form) { var val=form.Chapter.options[form.Chapter.options.selectedIndex].value; self.location='QueryForm.php?Chapter=' + val ; } </script> TIA, Cor

« previous php.general (#260305) next »