You need to sign in to do that
Don't have an account?
Nick.ax106
AJAX Toolkit list-view-table template - IE htmlfile unknown runtime error
I created an inline S-Control using the listview template it works great in firefox but errors in IE at the
document.getElementById("list-view-table").innerHTML = sb.toString(); line.
I have done some reading and it looks like IE doesn't implement this according to the standard.
Does anyone have a workaround for this?
Thanks,
Nick
document.getElementById("list-view-table").innerHTML = sb.toString(); line.
I have done some reading and it looks like IE doesn't implement this according to the standard.
Does anyone have a workaround for this?
Thanks,
Nick
Without knowing more about the code, I've no idea how to help you out. Could you post the HTML fragment for the list view table you're updating?
~ sfdcfox ~
Code:
Try setting the html to a div instead:
<div id="list-view-table"></div>
var str = "<table>" + sb.toString() + "</table>";
document.getElementById("list-view-table").innerHTML = str;
HTHs,
Worked perfectly.
Nick