[jQuery] Re: inline script html vs xhtml

2009-05-27 Thread RobG
On May 27, 10:31 pm, dhoover wrote: > I am a bit perplexed at why a simple bit of code I have is firing in > HTML but not in the equivalent XHTML. Because it is extremely likely that your XHTML markup is being treated as HTML, in which case... [...] > And here is the XHTML file (that does not

[jQuery] Re: inline script html vs xhtml

2009-05-27 Thread Dean
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 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

[jQuery] Re: inline script html vs xhtml

2009-05-27 Thread Scott Sauyet
dhoover wrote: 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): [ ... ] This is the culprit. I'm not sure why, but script tags are never allowed to self-close like that. Try Chee