Bug Tracker

Opened 8 years ago

Closed 8 years ago

#9073 closed bug (invalid)

innerHTML failing on new elements

Reported by: anonymous Owned by:
Priority: high Milestone: 1.next
Component: manipulation Version: 1.6
Keywords: Cc:
Blocked by: Blocking:

Description

The following fiddle works fine in 1.5.2 but fails in 1.6

http://jsfiddle.net/3CL33/

I didn't see any mention of this in the blog post regarding the 1.6 release, so I'm assuming it's a bug and not a change, but please correct me if I'm wrong.

Change History (2)

comment:1 Changed 8 years ago by timmywil

Component: unfiledmanipulation
Priority: undecidedhigh
Status: newopen

I'm not sure innerHTML is supported, but "html" works.

comment:2 Changed 8 years ago by dmethvin

Resolution: invalid
Status: openclosed

jQuery doesn't have an innerHTML method but it does have an html method and it's actually documented to work. When I change it to that your sample works fine.

Why did it work before? Doesn't really matter since we never supported that.

Note: See TracTickets for help on using tickets.