Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12371 closed bug (invalid)

Creating span element with class from string doesn't work in IE8, IE7..

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


As you might expect, third line should create span element too, but IE8 has another opinion http://jsfiddle.net/fzRzQ/3/

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

That's because the html is not well formed, it needs that closing tag. See the documentation. http://api.jquery.com/jQuery/#jQuery2

Note: See TracTickets for help on using tickets.