jQuery: The Write Less, Do More JavaScript Library

Ticket #1072 (new bug)

Opened 1 year ago

Last modified 9 months ago

problem with append in IE6

Reported by: tonyt Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.1.3 Component: build
Version: 1.1.2 Keywords:
Cc: Needs: Review

Description

The flowwing result in IE 6 creates two tbody elements, while in FF does not. <script type="text/javascript">

$(document).ready(

function() { t = document.getElementById("scroll1");

var tbody = document.createElement("tbody");

t.appendChild(tbody); bDiv = document.createElement("div") $(bDiv)

.css({ padding: "0px", margin: "0px", overflow: "auto"}) .append(t)

//alert($(bDiv).html());

} );

</script> ..... <body> <table id="scroll1" class="scroll" cellpadding="0" cellspacing="0"> </table> .....

Attachments

Note: See TracTickets for help on using tickets.