Wednesday, November 17, 2004

javascript incompatible issue with IE and firefox

I had some incompatible problems in javascript with firefox, apprently the obj.parentElement is not working in firefox, but I had to use obj.parentNode.
However, for the same issue in datagrid, I had to change this.childNodes[1].childNodes[0] to this.cells[1].firstChild, so that I could access to the first control in each row of the datagrid, which is a checkbox


No comments: