Home > Backend Development > PHP Tutorial > php 过滤删除有关问题

php 过滤删除有关问题

WBOY
Release: 2016-06-13 12:06:37
Original
818 people have browsed it

php 过滤删除问题
有一个页面
因为以前写法错误 造成有很多内容 不在标签内
我想删掉所有 不在标签内的内容

111122223333
我想 删除 1111和3333的全部内容
标签外的内容 有很多 而且没有规律
请问大家有什么方法么?
------解决思路----------------------
外面加个span
111122223333

<br />var a=$("._del").find(a);<br />$("._del").html(a);<br />
Copy after login

思路是这样,你可以试试。

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