Skip to main content

Bug Tracker

Side navigation

#22 closed bug (fixed)

Opened July 01, 2006 07:35AM UTC

Closed July 01, 2006 04:01PM UTC

Last modified November 25, 2010 11:29PM UTC

Using html(string) adds a parameter to the element

Reported by: sam.collett@gmail.co Owned by:
Priority: undecided Milestone:
Component: ajax Version:
Keywords: Diana,SPAM Cc:
Blocked by: Blocking:
Description

For instance

<div id="foo"></foo>

$("#foo").html("string");

results in

<div id="foo" innerhtml="string">string</foo>

Two discussion threads on the issue:

http://jquery.com/discuss/2006-June/001661/

http://jquery.com/discuss/2006-June/002791/

Attachments (0)
Change History (6)

Changed July 01, 2006 04:01PM UTC by john comment:1

resolution: → fixed
status: newclosed

Resolved in SVN.

Changed July 04, 2006 09:45PM UTC by john comment:2

milestone: → 1.0
version: → 1.0

Changed September 12, 2006 02:17PM UTC by Diana comment:3

cc: → Diana
component: core1
keywords: innerHTML, htmlDiana
milestone: 1.01
priority: major1
summary: Using html(string) adds a parameter to the elementDiana
type: bug1
version: 1.01

Changed October 24, 2010 09:22PM UTC by snover comment:4

component: 1
milestone: 1
priority: 1
type: 1
version: 1

Changed October 24, 2010 09:28PM UTC by snover comment:5

cc: Diana
keywords: DianaDiana,SPAM

Changed November 25, 2010 11:29PM UTC by jitter comment:6

component: → ajax
description: For instance\ <div id="foo"></foo>\ \ $("#foo").html("string");\ \ results in\ <div id="foo" innerhtml="string">string</foo>\ \ Two discussion threads on the issue:\ \ http://jquery.com/discuss/2006-June/001661/\ http://jquery.com/discuss/2006-June/002791/For instance \ <div id="foo"></foo> \ \ $("#foo").html("string"); \ \ results in \ <div id="foo" innerhtml="string">string</foo> \ \ Two discussion threads on the issue: \ \ http://jquery.com/discuss/2006-June/001661/ \ http://jquery.com/discuss/2006-June/002791/
priority: → undecided
summary: DianaUsing html(string) adds a parameter to the element
type: → bug