Dynamic Records Display Using innerHTML
for IE5+ and Netscape 6 (although N6 sometimes has a redraw issue)
The entire content below is being written dynamically into
the div id="mainTable" using
document.getElementById('mainTable').innerHTML=y
Each value in the table represents an array. The numbers between the buttons
show the current array number and the length of the array. As you click the
buttons below, you change the array number and the value of y. Look at the
source code to see the value of y.
If you're looking at this on a Mac with IE you'll notice that the button value appears all the way at the bottom of the page rather than on the button where it belongs. I'm still trying to figure out why this is happening. It works fine with Netscape 6 and on the Windows platform. I'd be glad to hear from anyone who can explain it.
PXL8 2003