如何用这个jQuery替换下面的代码确认:
jQuery Alert Dialogs (Alert, Confirm, & Prompt Replacements)
和代码:
OnClientClick="javascript:if(!confirm('Are you sure you want to delete this row?')){return false;}
和jQuery的确认代码:
jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r) {
jAlert('Confirmed: ' + r, 'Confirmation Results');
});
我测试了很多没有结果的方法...... 提前谢谢