JavaScript遇到的问题

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单提交</title>
</head>
<script>
function fun() {
    return false;

}
</script>
<body>
<form>
    <input type="submit" onclick="return fun()">
</form>

</body>
</html>

有点头大

猜你喜欢

转载自www.cnblogs.com/guosai1500581464/p/12906477.html