求助 点击页面的一个链接 即可探出outlook 分别在主题和内容处显示页面的title和url链接 。 谢谢了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <html><head><title>MailTo</title></head><body><a href="http://www.163.com" onclick="MailTo(this)">aa</a><script>function MailTo(a){ link=a.href; //更改连接属性 a.href="mailto:[email protected]?subject="+document.title+"&body="+link;}</script></body></html> “&” 请问我的link里面有这个字符 , 为什么在“&”后面的link 其他部分不显示?谢谢了 加个encodeURIComponent!L@_@K<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <title>Good Luck</title> <meta name="generator" content="editplus" /> <meta name="author" content="Gao YiXiang" /> <meta name="email" content="[email protected]" /> <meta name="keywords" content="javascript dhtml dom" /> <meta name="description" content="I love web development." /></head><body> <a href="http://www.126.com?s=good&a=luck" onclick="contactUs(this)">Contact Us</a> <script type="text/javascript"> <!--function contactUs(link){ link.href = "mailto:[email protected]?subject=" + document.title + "&body=" + encodeURIComponent(link.href); //alert(link.href);} //--> </script></body></html> js怎么实现网页首页图片轮换效果 此网页上的错误可能会使它无法正确运行 js 如何禁止键盘选择select元素。 发一个“万恶”的复制代码,贡献给有站的朋友 请教window.popup 与 window.__popup的区别 谁知道哪款曲线图插件能够选定某一块区域的? 在JavaScript中怎么得到失去焦点文本框名称 不用window.open用什么?求相关代码 如何在不同框架(Frame)网页中获取对象以及点击一个连接后使此连接不可用 在框架里我左边是菜单,右边添加项目后,怎样做到左边的菜单页自动更新呢? 为什么我的工作这么不顺呢? javascript操作cookie问题
<head><title>MailTo</title></head>
<body>
<a href="http://www.163.com" onclick="MailTo(this)">aa</a>
<script>
function MailTo(a)
{
link=a.href;
//更改连接属性
a.href="mailto:[email protected]?subject="+document.title+"&body="+link;
}
</script>
</body>
</html>
谢谢了
L@_@K
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Good Luck</title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="[email protected]" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
</head>
<body>
<a href="http://www.126.com?s=good&a=luck" onclick="contactUs(this)">Contact
Us</a>
<script type="text/javascript">
<!--
function contactUs(link)
{
link.href = "mailto:[email protected]?subject=" + document.title + "&body=" + encodeURIComponent(link.href);
//alert(link.href);
}
//-->
</script>
</body>
</html>