Bug Tracker

Ticket #7110: jqueryFFbug.txt

File jqueryFFbug.txt, 966 bytes (added by davej, 9 years ago)

shows function that reproduces code

Line 
1
2        function onAddItem() {
3            itemCount = itemCount + 1;
4            var rowString = "<tr id=row-" + itemCount + ">";
5            rowString = rowString + "<td>" + document.getElementById("Order_productcode").value + "</td>";
6            rowString = rowString + "<td>" + document.getElementById("Order_productsku").value + "</td>";
7            rowString = rowString + "<td>" + document.getElementById("Order_productdesc").value + "</td>";
8            rowString = rowString + "<td align=\"right\">" + document.getElementById("ItemQuantity").value + "</td>";
9            rowString = rowString + "<td>" + document.getElementById("Order_productweight").value + "</td>";
10            rowString = rowString + "<td>" + document.getElementById("Order_productcost").value + "</td>";
11            rowString = rowString + "</tr>";
12            $row = $(rowString);
13            $row.hide().fadeIn("slow").appendTo("#orderedItems table tbody");
14        }