就是我们那个看书都有用一个页跳转,这个怎么用php来实现的
或者下面那个点击跳转怎么让它弹出我们填的内容表单如下
<html>
</head><body>
<form id="form1" name="form1" method="post" action="">
<input type="text" name="textfield" />
<a href="6.html">跳转</a>
</form>
<script type="text/javascript">
alter(form1.textfield.value);
</script>
</body>
</html>
或者下面那个点击跳转怎么让它弹出我们填的内容表单如下
<html>
</head><body>
<form id="form1" name="form1" method="post" action="">
<input type="text" name="textfield" />
<a href="6.html">跳转</a>
</form>
<script type="text/javascript">
alter(form1.textfield.value);
</script>
</body>
</html>
弹出填写的内容,可以使用javascript里面的事件啊,为链接添加一个onclick事件,然后执行调用自定义的函数,window.open("......");具体的自己做吧,希望对你有帮助啊
<?php
header('6.html');
?>弹出的话就写js,想上面朋友说的。
header('location:6.html');
?>
</head><body>
<form id="form1" name="form1" method="post" action="">
<input type="text" name="myname" id="myname" />
<a href="6.html" onclick="showmsg()">跳转 </a>
</form>
<script type="text/javascript">
function showmsg() {
alert(document.getElementById("myname").value);
}
</script>
</body>
</html>