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()
}
解决方案 »
- Js文件调用
- select的onchange函数。
- 急问小问题:js正则中是否有类似Perl的$1?
- 在线等js怎么取得到html文件中<body>之间的内容?
- ─── 200分求毕业设计论文及源码,任意题型都可以! ───
- javascript判断一个字符串能否转换为数字用什么方法?
- IE下使用ajaxFileUpload.js上传图片成功后,弹出打开/另存为窗口
- 求,在javascript如何对一个数值取两位小数的格式
- javascript为何取不到好多网页中的东西,vbscript的for...next怎么用?
- 朋友们:请问怎样计算出春节的日期????
- 奇怪问题:关于不刷新页面连续提交表单!数据修改后继续提交,但提交上去数据没有变化,是原来的!!
- 如何才可以在网页中运行一个EXE文件,JAVA脚本能实现吗?
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。我够差的,我不会把你的程序改成我想要的。