Side navigation
#1072 closed bug (fixed)
Opened March 26, 2007 03:22PM UTC
Closed October 19, 2009 01:07AM UTC
Last modified March 15, 2012 01:13AM UTC
problem with append in IE6
Reported by: | tonyt | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | build | Version: | 1.1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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 (0)
Change History (1)
Changed October 19, 2009 01:07AM UTC by comment:1
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>\ ..... → 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> \ ..... |
---|---|
resolution: | → fixed |
status: | new → closed |
Misplaced in 'build' category. Bug was fixed long ago.