Brandon Aaron wrote:
> This is really great work. I think you might be able to save a few
> extra bytes by dropping the closing tag when creating single elements.
> jQuery will add them for you.
> 
> This:
> $('<div>') and $('<iframe>')
> 
> Instead of this:
> $('<div></div>') and $('<iframe></iframe>')
> 

Apparently that causes JS errors when a page is served as 
content-type=application/xhtml+xml. A user of my date picker told me 
this and replacing the $('<div>')'s with $('<div></div>')'s fixed their 
problems... I know the general opinion seems to be that 
content-type=application/xhtml+xml is a waste of time but it's nice for 
a plugin to allow users to serve their pages as they like...

Cheers,

Kelvin :)

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to