✔ 最佳答案
例子如下:
<script type="text/javascript">
<!--
function statwords(message){
window.status = message;
}
// -->
</script>
<center>
<form>
<input type="button" VALUE="Write a status bar message" OnClick="statwords('This is my message');">
<input type="button" VALUE="Erase the status bar message" OnClick="statwords(' ');">
</form>
</center>