Re: javascript in <head> or in <body> ?

From: Date: Tue, 07 Aug 2007 19:35:09 +0000
Subject: Re: javascript in <head> or in <body> ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-260311@lists.php.net to get a copy of this message
C.R.Vegelin wrote:
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>
Either really. Both work. -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support

« previous php.general (#260311) next »