Hi folks,

I figured out a problem in the brand new 1.1.4 version with IE 6+ wich
breaks my existing code.
In firefox 1.5+ everything is fine, didn't test any other browsers.

I create a couple of dynamic html element with the html("some html
code") function.

The following codesnipplet results under 1.1.4 (IE only) in an null
and under 1.1.3.1 and older in an empty a-tag.
 
1.1.3.1             1.1.4
jQuery("<a/>").html()                JQ object         JQ object
jQuery("<a/>").size()                 1                       0
jQuery("<a/>").html()                 ""                      null

jQuery("<a />").html() is the same as above, while

jQuery("<a></a>").html() is fine. this is my momentary work around.

Is XHTML syntax not longer supported in the html() function or is this
a bug?

Regards, stefan

Reply via email to