我有一堆验证javascript进程与确认.我想使用jquery ui对话框,但我需要在其余的验证过程中返回true.
例如:
var where_to_coupon = confirm(pm_info_msg_013);
if (where_to_coupon== true) {
doSubmit=true;
return doSubmit;
Run Code Online (Sandbox Code Playgroud)
所以我需要一个用UI对话框替换确认的函数,拉取消息字符串(pm_info_msg_013),并使用我自己的按钮或UI按钮在验证过程中返回true.
不知道从哪里开始.
救命?