Home > Backend Development > PHP Tutorial > 表单php剔除功能实现

表单php剔除功能实现

WBOY
Release: 2016-06-13 13:17:30
Original
849 people have browsed it

表单php删除功能实现
我在网站后台给前台的表单都添加了checkbox,但不知道怎么在php中实现选中删除功能,要后台的数据也同步删除,请予以指导,最好详细一点,谢谢

------解决方案--------------------
html:




js:
<script><br />$(document).ready(function(){<br /> $(".button").click(function(){<br /> var checkval=$("input[name^='cd']:checked").val();<br /> //传值到处理页面<br />})<br />})<br /></script>

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template