javascript confirm function ok and cancel return same result

后端 未结 1 676
傲寒
傲寒 2021-01-27 03:07

Here, I am calling confirm(param1, param2) method to display an alert Do you want to continue?

In this case, if the user clicks OK

1条回答
  •  自闭症患者
    2021-01-27 03:43

    There is no check!

    confirm(param1, param2);
    checkcount();
    

    and you want to change your function name to something other than confirm.

     
    

    0 讨论(0)
提交回复
热议问题