Home  >  Article  >  Web Front-end  >  How to write js to pop up a prompt message to confirm deletion

How to write js to pop up a prompt message to confirm deletion

高洛峰
高洛峰Original
2016-12-17 13:44:081548browse

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.

Call method:

Delete

Second method: The principle is the same as above.

JavaScript deletion confirmation box

Delete

The third type: Mainly used for confirmation prompts 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.

First type:

Delete

Second Kind:

//Call

" onclick="javascript:del_sure()">Delete

Third option:

Delete




For more related articles on how to write js pop-up prompts to confirm deletion, please pay attention to PHP Chinese net!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn