Bug Tracker

Opened 12 years ago

Closed 12 years ago

#7526 closed bug (worksforme)

there is bug in the html() method of the latest jquery.

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:

Description

in the jquery 1.4.2, and 1.4.3, inside html(value){} method there is this[i].innerHTML = value that replace the innerHTML of this object with value, and this is causing issue in case when we have table element inside the div element (like <div><table></table></div>). what it does is finally it separates the div and table elements as (<div></div> <table></table> this needs to be changed to this[i].html(value).

Change History (3)

comment:1 Changed 12 years ago by jitter

Owner: set to [email protected]
Status: newpending

Please submit a reduced test case which reproduces the issue you are experiencing (ideally on http://jsFiddle.net). So that we can investigate this issue further.


How to report bugs

Last edited 12 years ago by jitter (previous) (diff)

comment:2 in reply to:  1 Changed 12 years ago by anonymous

Replying to jitter:

Please submit a reduced test case which reproduces the issue you are experiencing (ideally on http://jsFiddle.net). So that we can investigate this issue further.


How to report bugs

please use the example http://jsfiddle.net/xGKsT/ , but this is reproducible only on mozilla 3.6. Please use same kind of example as given on link, the result will be that div and table will get separated

Last edited 12 years ago by jitter (previous) (diff)

comment:3 Changed 12 years ago by jitter

Resolution: worksforme
Status: pendingclosed
Version 0, edited 12 years ago by jitter (next)
Note: See TracTickets for help on using tickets.