i have the following code and need to scroll the div to the bottom on each
of the inserts.
please help *&^%$#@
<a href=# onclick="addtex t('Wed Mar 23 11:23:58 AM Eastern Standard Time
2005<BR>');">
<b>HELLO</b>
</a>
<div id=MyDiv style=height:20 0;overflow:auto class=normal style="border:1 px
CCCCCC solid">
</div>
<script>
<!--- Hide script from browsers that don't understand JavaScript
function addtext(string) {
var c = new Date();
oDiv = document.getEle mentById("MyDiv ");
oDiv.innerHTML = oDiv.innerHTML + string;
self.scroll(0, 50000);
}
addtext('111159 5039<BR>');
addtext('111159 5040<BR>');
addtext('111159 5041<BR>');
addtext('111159 5042<BR>');
addtext('111159 5043<BR>');
addtext('111159 5044<BR>');
addtext('111159 5045<BR>');
addtext('111159 5046<BR>');
addtext('111159 5047<BR>');
addtext('111159 5048<BR>');
addtext('111159 5049<BR>');
addtext('111159 5050<BR>');
addtext('111159 5051<BR>');
addtext('111159 5052<BR>');
addtext('111159 5053<BR>');
addtext('111159 5054<BR>');
// End hiding -->
</script>