Hi,
I create an object like this:
var cell = document.create Element("td").
It doesn't have to be cell.
I want this cell to use the onclick event. What doesn't work in the IE as
well as with Mozilla is:
cell.onclick = "whatever() ";
What works only with Mozilla is:
cell.setAttribu te("onclick", "whatever() ");
So my question: Is there any way to get this done in the IE?
thanks,
Andreas
I create an object like this:
var cell = document.create Element("td").
It doesn't have to be cell.
I want this cell to use the onclick event. What doesn't work in the IE as
well as with Mozilla is:
cell.onclick = "whatever() ";
What works only with Mozilla is:
cell.setAttribu te("onclick", "whatever() ");
So my question: Is there any way to get this done in the IE?
thanks,
Andreas
Comment