I have seen several examples on jQuery plugin sites that have the
<script> tag and Javascript within the <body> and not the <head> where
I thought it was supposed to go.

It would be better for my content manager and the templating system if
the Javascript *were* in the <body> but I don't want to be guilty of
not having unobtrusive code.

What's the standard/acceptable/best practices method?

<head>
   <script>
     javascript here
   </script>
</head>

VS.

<body>
   html here
   <script>
      javascript here
   </script>
</body>

Thanks in advance!

Reply via email to