JS 判断是否弹出框

<td height="20" valign="top" class="tt"><a href="void(0);"   class="buy">购买</a>&nbsp;&nbsp;

function checkJh(cardType){
//${pageContext.request.contextPath}/card.action?wm.submitFlag=addCard&cardtype=3&wm.successFlag=cardSuccess
if (confirm('是否立即激活')){
alert('激活');
}else{
alert('no');
}
}

 

你可能感兴趣的:(confirm)