确认请求(confirm,request)


<a id="newEvaluation" href="" target="mainFrame" onclick="newEvaluation()">创建新评估</a>





function newEvaluation()

{

if (confirm("是否新建评估?"))

{

document.all.newEvaluation.href="所要请求的URL地址"

}else{

document.all.newEvaluation.href=" URL地址"

}

}

你可能感兴趣的:(request,confirm)