setAttribute, onClick and cross browser compatibility
onew.setAttribute(“type”, “button”); Never use setAttribute on HTML documents. IE gets it badly wrong in many cases, and the DOM-HTML properties are shorter, faster and easier to read: onew.type=”button”; onew.onclick = function(){fnDisplay_Computers(“‘” + alines[i] + “‘”); }; // ie What is ‘alines’? Why are you converting it to a string and surrounding it with single quotes? … Read more