< script language = " javascript " > var _scrheight , _cheight , _scrtop; function getTextarea() ... { _cheight = document.all.textarea.clientHeight; _scrtop = document.all.textarea.scrollTop; _scrheight = document.all.textarea.scrollHeight; if (_cheight + _scrtop == _scrheight) ...{ document.getElementById("bott").innerHTML = "<input type='submit' name='Submit' value='提交' />"; } } </ script > < input name = " tet " type = " text " id = " tet " size = " 10 " /> < input name = " tet2 " type = " text " size = " 10 " /> < input name = " tet22 " type = " text " size = " 10 " /> < input name = " tet3 " type = " text " size = " 10 " /> < p > < textarea name = " textarea " cols = " 10 " rows = " 20 " readonly = " false " onscroll = " getTextarea(); " > 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 </ textarea > < p > < div id = " bott " name = " bott " >< input type = ' submit ' name = ' Submit ' value = ' 提交 ' disabled /></ div >