Home >Web Front-end >JS Tutorial >Regarding prompt processing when deleting (are you sure to delete)_javascript skills

Regarding prompt processing when deleting (are you sure to delete)_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:17:591255browse

Service control:

Copy code The code is as follows:

OnClientClick="javascript:if (confirm( 'Are you sure to delete? ')) { return true;}else{return false;};"

Ordinary a tag:
Copy the code The code is as follows:
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