如何使用确认提醒框创建struts jquery链接?
答
sj:a
id="ajaxlink"
href="%{'#'}"
indicator="indicator"
onClickTopics="before"
button="true"
>
click me
</sj:a>
$.subscribe('before', function(event,data) {
//do your condition check here
if(condition){
window.location="yourLocation";
}
});