<SCRIPT language=JavaScript>
function teamPost(x){
//alert(x);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(form1.submit())">
</form>
</body>
function teamPost(x){
//alert(x);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(form1.submit())">
</form>
</body>
function teamPost(x){
//alert(x);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(form1)">
</form>
</body>?
function teamPost(x){
//alert(x);
x=eval(x);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(this.form.name)">
</form>
</body>
<SCRIPT language=JavaScript>
function teamPost(y){
//alert(x);
var x = document.getElementById(y);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost('form1')">
</form>
</body>
function teamPost(x){
//alert(x);
x=eval("document."+x);
window.confirm(x.action);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(this.form.name)">
</form>
</body>
function teamPost(x){
//alert(x);
x.action="teamBuy.php";
x.submit();
}
</SCRIPT><body>
<form method="post" action="c:" name="form1">
<input type="text" name="textfield">
<input type="submit" name="Submit" value="提交">
<input type="button" name="Submit2" value="提交2" onClick="teamPost(this.form)">
</form>
</body>