0
我想創建<sj:a></sj:a>
鏈接,點擊後會顯示第一個確認對話框。我試過<sj:dialog>
,但它不起作用。 你能幫我嗎?如何使用確認提醒框創建struts jquery鏈接?
我想創建<sj:a></sj:a>
鏈接,點擊後會顯示第一個確認對話框。我試過<sj:dialog>
,但它不起作用。 你能幫我嗎?如何使用確認提醒框創建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";
}
});