I have read a number of posts about this but none with any solid answer. Here is my code:
// button creation onew = document.createElement(\'input\'); onew.
I usually use something like:
onew.onclick = new Function("fnDisplay_Computers('" + alines[i] + "')");
this should work both in IE e Firefox.