Bug Tracker

Opened 7 years ago

Closed 7 years ago

#12371 closed bug (invalid)

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

Reported by: hottdogg2008@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

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 7 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.