JavaScript学习笔记1:鼠标划过选中

来源:岁月联盟 编辑:exp 时间:2012-05-28
<html> 
<head> 
<title></title> 
</head> 
<body> 
    <textarea cols=40 rows=10 onmouseover='this.focus()' onfocus='this.select()'> 
    欢迎各位读者学习Javascript这门语言! 
    </textarea> 
</body> 
</html> 


/




摘自 落日小屋