Can any Firefox pros tell me why this function works in IE but not Firefox?
function addtbl()
{
idx++
var mydiv = document.getElementById(“d1”);
var thtm = “<table width =’100%’ id=’tbl” + idx + “A’>”
var newtA = document.createElement(thtm);
mytablebody = document.createElement(“tbody”);
var newrA = document.createElement(‘tr’);
var newcA = document.createElement(“<td width=’10%’ style=’font-weight: bold’>”);
var newtxtA = document.createTextNode(“Group ” + idx);
var newcA1 = document.createElement(“td”);
var newtxtA1 = document.createTextNode(“There will be “);
var newcA2 = document.createElement(“<select id=’numCBT” + idx + “‘ onchange=’popCBs(” + idx + “)>”);
var newtxtA2 = document.createTextNode(” checkboxes in this group. Once a checkbox is selected, the users “);
var newcA3 = document.createElement(“<select id=’bln_UnChkAll” + idx + “‘>”);
var newtxtA3 = document.createTextNode(” uncheck all checkboxes in the group.”);
newcA1.appendChild(newtxtA1);
newcA1.appendChild(newcA2);
newcA1.appendChild(newtxtA2);
newcA1.appendChild(newcA3);
newcA1.appendChild(newcA3);
newcA1.appendChild(newtxtA3);
newcA.appendChild(newtxtA);
newrA.appendChild(newcA);
newrA.appendChild(newcA1);
mytablebody.appendChild(newrA);
newtA.appendChild(mytablebody);
mydiv.appendChild(newtA);
var thtm = “<table width =’100%’ id=’tbl” + idx + “‘>”
var newt = document.createElement(thtm);
mydiv.appendChild(newt)
document.getElementById(“d1”).style.display=’inline’;
eval(“popDDs(” + idx + “)”)
return newtA
}
Is there an online documentation repository for Firefox? (like msdn for Microsoft products)