The first method: It is very easy to use. Only after confirmation can the download address page be opened. The principle is also relatively clear. Mainly used to confirm deletion of a single message.
<SCRIPT LANGUAGE=javascript> function p_del() { var msg = "您真的确定要删除吗?\n\n请确认!"; if (confirm(msg)==true){ return true; }else{ return false; }
Second method: The principle is the same as above.
JavaScript deletion confirmation box
Delete
No. Three types: Confirmation prompts mainly used for batch deletion
The following is compiled by other netizens, they are similar. Generally, a confirmation button pops up to determine whether to continue to the deletion page below.
The first type:
Delete
The second type:
//Call
" onclick="javascript:del_sure()">Delete
The third method:
For more javaScript deletion confirmation implementation methods summary and related articles, please pay attention to the PHP Chinese website!