function mailit()
{
document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()
}
{
document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()document.formname.action="mailto:[email protected]"
document.formname.sunmit()
}
Function changeAction()
{
var yourform=document.from1;
yourform.action=”your objest file”
submit();
}
function mailit()
{
document.formname.action="mailto:[email protected]"
document.formname.submit()document.formname.action="mailto:[email protected]"
document.formname.submit()document.formname.action="mailto:[email protected]"
document.formname.submit()document.formname.action="mailto:[email protected]"
document.formname.submit()
}</script>
<form name="formname" method=post enctype="text/plain" action="mailto:[email protected]">
<input name=a value=test>
<input type=button onclick="mailit()" value=post>
</form>
您好!谢谢你回复我的《怎样才能把一个表单里的内容发送到不同的地方(仅用html或Javascript )》。我是第一次加入这个论坛。您使我知道那里是高手如林,那里发贴回复最快,真的谢过了。
我很菜,我想的原意是想把一个表单里的内容,提交到不同的程序。如http://download.21cn.com/forsearch.php和http://www8.pconline.com.cn/download/newswsearch.phtml。我够差的,我不会把你的程序改成我想要的。