On 8/7/07, C.R.Vegelin <[EMAIL PROTECTED]> 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>

w3 says it can appear in either:

<snip>
The SCRIPT element places a script within a document. This element may
appear any number of times in the HEAD or BODY of an HTML document.
</snip>

http://www.w3.org/TR/html4/interact/scripts.html#h-18.1


-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to