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: | 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
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 comment:1
| component: | unfiled → manipulation |
|---|---|
| priority: | undecided → high |
| status: | new → open |
Changed May 03, 2011 07:27PM UTC by comment:2
| resolution: | → invalid |
|---|---|
| status: | open → closed |
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.
I'm not sure innerHTML is supported, but "html" works.