Wow. That is totally bizzare. When I self close but don't have any
inline scripts, it works.

Thanks!

On May 27, 11:52 am, Scott Sauyet <li...@sauyet.com> wrote:
> dhooverwrote:
> > I am a bit perplexed at why a simple bit of code I have is firing in
> > HTML but not in the equivalent XHTML. Here is the HTML file (that
> > works as expected):
> > [ ... ]
> > <script type="text/javascript" src="js/jquery-1.3.2.min.js" />
>
> This is the culprit.  I'm not sure why, but script tags are never
> allowed to self-close like that.
>
> Try
>
>    <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
>
> Cheers,
>
>    -- Scott

Reply via email to