摘要:
var d=document.getElementById("exportA");alert(d.href);d.href="${ctx}/templet/tEdasTempletInfo/export&titleCode='"+titleCode+"'&titleName='"+titleName 阅读全文
摘要:
var res = "a-b-c-d";var index = find(res,'-',1); //字符串res中第二个‘-’的下标 var ress = res.substring(index); //ress的值为 "-c-d" function find(str,cha,num){ var 阅读全文