Home  >  Article  >  Web Front-end  >  PHP experience-js deletion tips

PHP experience-js deletion tips

高洛峰
高洛峰Original
2016-12-17 14:20:541206browse

The code is relatively simple and can be posted directly

A simple trigger event, the confirm return value determines whether to trigger the link event

onclick="return confirm('Are you sure you want to delete?')"

The following is a specific example

A link comes with a deletion address

Delete



For more PHP experience-js deletion tips, please pay attention to PHP Chinese website for related articles !

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