如何显示带有表单信息的确认模式对话框,以便用户可以确认他们在表单中选择的内容,并且只有在用户这样说的情况下才提交?
confirm.$("#submit-button").click( function(){
if (validator.form()==true) {
tb_show("Countdown", "are_you_sure.html?height=100&width=200&modal=true", "");
//some check here maybe?
}
return false;
});