运行平台是asp.net,代码如下:<script language="javascript">
function Custom_AddListMenuItems(m, ctx)
{
var strDisplayText = "发送邮件通知";
var strAction;
var strImagePath = ""; // parse the URL out of the itemTable
var URL = "";
var index = itemTable.innerHTML.indexOf("href=");
if (index > 0)
{
var str = itemTable.innerHTML.substr(index + 6); index = str.indexOf('"');
if (index > 0)
{
URL = str.substr(0, index);
}
} if (URL != "")
{
strAction = 'window.navigate("mailto:%20?subject=您有待解决的问题...&body=您有新问题需要解决,请点击链接<' + URL + '>查看详细内容。")';
// Add menu item
CAMOpt(m, strDisplayText, strAction, strImagePath);
// add a separator to the menu
CAMSep(m);
}
return false; }</script>
function Custom_AddListMenuItems(m, ctx)
{
var strDisplayText = "发送邮件通知";
var strAction;
var strImagePath = ""; // parse the URL out of the itemTable
var URL = "";
var index = itemTable.innerHTML.indexOf("href=");
if (index > 0)
{
var str = itemTable.innerHTML.substr(index + 6); index = str.indexOf('"');
if (index > 0)
{
URL = str.substr(0, index);
}
} if (URL != "")
{
strAction = 'window.navigate("mailto:%20?subject=您有待解决的问题...&body=您有新问题需要解决,请点击链接<' + URL + '>查看详细内容。")';
// Add menu item
CAMOpt(m, strDisplayText, strAction, strImagePath);
// add a separator to the menu
CAMSep(m);
}
return false; }</script>
你自己在Web.config里面改不就可以了嘛?!!!
<globalization requestEncoding="GB2312" responseEncoding="GB2312" />
只能写程序把这些汉字改成GB2312
给小弟用用,谢谢!!
找到一个函数
http://www.blueidea.com/user/qswh/qswhU2GB.js
散分.