Skip to main content

Bug Tracker

Side navigation

#9073 closed bug (invalid)

Opened May 03, 2011 07:08PM UTC

Closed May 03, 2011 07:27PM UTC

innerHTML failing on new elements

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

The following fiddle works fine in 1.5.2 but fails in 1.6

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.

Attachments (0)
Change History (2)

Changed May 03, 2011 07:25PM UTC by timmywil comment:1

component: unfiledmanipulation
priority: undecidedhigh
status: newopen

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

Changed May 03, 2011 07:27PM UTC by dmethvin comment:2

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.