第一种:<form action="" method="post" name="form1">
<input type=submit>
</form>
第二种 :<form action="" method="post" name="form1">
<img src="abc.gif" onclick="form1.submit()">
</form>
第三种: <a href="">abc</a>
第四种: <form action="" method="post" name="form1">
<input type=button onclick="javscript:location.href='abc.html'">
</form>
如果网页有滚动条的话 它会跑到最上面
<form action="#" method="post" name="form1">
<input type=button onclick="javscript:location.href='abc.html'">
</form>
如果网页有滚动条的话 它会跑到最上面
第五种:<form action="abc.html" method="post" name="form1">
<a href="javscript:location.href='abc.html'">abc</a>
</form>
第六种:<form action="abc.html" name="form">
<a href="javascript:document.forms[0].submit()">abc</a>
<a href="javascript:document.getElementById('myForm').submit()">
</form>
<form action="" method="post" name="form1">
<input type=button onclick="window.open('abc.html')">
</form>
<javascript>
function toNewHtml()
{ //通过一个方法来传递参数
var name1=document.all.name1.value;
location.href='newHtml?name='+name1;
}
</javascript>
<input type=text name='name1' value="dddd"/>
<a href='toNewHtml()'>aaaaa</a>
第一种:<form action="" method="post" name="form1">
<input type=submit>
</form>
第二种 :<form action="" method="post" name="form1">
<img src="abc.gif" onclick="form1.submit()">
</form>
第三种: <a href="">abc</a>
第四种: <form action="" method="post" name="form1">
<input type=button onclick="javscript:location.href='abc.html'">
</form>
如果网页有滚动条的话 它会跑到最上面
<form action="#" method="post" name="form1">
<input type=button onclick="javscript:location.href='abc.html'">
</form>
如果网页有滚动条的话 它会跑到最上面
第五种:<form action="abc.html" method="post" name="form1">
<a href="javscript:location.href='abc.html'">abc</a>
</form>
第六种:<form action="abc.html" name="form">
<a href="javascript:document.forms[0].submit()">abc</a>
<a href="javascript:document.getElementById('myForm').submit()">
</form>
<form action="" method="post" name="form1">
<input type=button onclick="window.open('abc.html')">
</form>
<javascript>
function toNewHtml()
{ //通过一个方法来传递参数
var name1=document.all.name1.value;
location.href='newHtml?name='+name1;
}
</javascript>
<input type=text name='name1' value="dddd"/>
<a href='toNewHtml()'>aaaaa</a>
第一种:<form action="" method="post" name="form1">
<input type=submit>
</form>
第二种 :<form action="" method="post" name="form1">
<img src="abc.gif" onclick="form1.submit()">
</form>
第三种: <a href="">abc</a>
第四种: <form action="" method="post" name="form1">
<input type=button onclick="javscript:location.href='abc.html'">
</form>
第五种:<form action="abc.html" method="post" name="form1">
<a href="javscript:location.href='abc.html'">abc</a>
</form>
第六种:<form action="abc.html" name="form">
<a href="javascript:form.submit();">abc</a>
</form>
<form action="" method="post" name="form1">
<input type=button onclick="window.open('abc.html')">
</form>
<javascript>
function toNewHtml()
{
var name1=document.all.name1.value;
location.href='newHtml?name='+name1;
}
</javascript>
<input type=text name='name1' value="dddd"/>
<a href='toNewHtml()'>aaaaa</a>
<a href="javascript:void(0);" onclick="ascention('13289');" id="13289" alt="reserve">
<img src="css/csslession/{$lessonsStatus.5.29}" $arrStatus[$i][$j.'click'] alt="">
</a>