<html>
<
head
>
<scripttype="text/
javascript
">
functionshowHint(str){
alert(str);
}
</script>
</head>
<body>
<inputtype="text"
onkeyup
="showHint(this.value)"/><!--此处,在
html标签
中的this代表的是此标签-->
</body>
</html>
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/html/h55350.shtml