每次在html页面中显示html输入元素时,我该怎么做?
<html>
<head>
<script>
function myFunction() {
alert("input is loaded");
}
</script>
</head>
<body >
<h1>Hello</h1>
<input type="text" onload="myFunction()"/>
</body>
</html>