感谢您的支持,我会继续努力的!
打开微信扫一扫,即可进行扫码打赏哦
点我查看本站打赏源码!
Powered by RUNCODEX.COM,学的不仅是技术,更是梦想!!!
<!doctype html>
<html>
<head>
<meta charset="uft-8">
<title>my web</title>
<script>
function myfun()
var obj=document.forms["fname"]["iname"].value;
if(obj=="")
alert("no input");
return false;
</script>
</head>
<body>
<form name="fname"action="demo-form.php"onsubmit="retrun myfun()" method="post">
name<input name="iname"type="text">
<input type="submit">
</form>
</body>
</html>
输入 JavaScript 代码……
xxxxxxxxxx
输入 CSS 代码……