javascript with PHP in MAC's Firefox
// Related to Javascript in php in Mac's Firefox.
var tbodyElem = document.getElementById("'.$tmpNodeId.'").rowIndex ;alert(tbodyElem);trElem = tableBody.insertRow(tbodyElem+1);trElem.name='.$ma inLevelNo.';trElem.value='.$subLevelNo.';trElem.id ="'.$tmplformid.'";tdElem=trElem.insertCell();tdEl em.value=0;tdElem.style.textIndent='.$indents.';td Elem.id="col_'.$tmplformid.'";tdElem.className="'. $classStyle.'";';
print "<table style= 'position:relative;top:50' cellspacing=3 cellpadding=3 width=100%>";
print "<tbody id=tableBody >";
i am just sending, few sample coding. i found problem near
insertRow(). i changed the coding. still that problem existing. can you check this code?
i heard that insertRow() wont work in MAC OS.
This coding is perfectly running in Window IE.
|