var tr = document.createElement('tr');
tr.setAttribute("onclick",p.onrowclick+"("+row.id+")");
Hi, the above works fine for me in Firefox. I can't find the correct syntax for a workaround in IE.
I'm using IE8.
var tr = document.createElement('tr');
tr.setAttribute("onclick",p.onrowclick+"("+row.id+")");
Hi, the above works fine for me in Firefox. I can't find the correct syntax for a workaround in IE.
I'm using IE8.
Don't set events like this. Pass it a proper function:
tr.onclick = function() { p.onrowclick(...); }