KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a script that creates a list of items with a structure like this: <li> <div>Some stuff</div> <a href="http://www.mysite.com/">New Item</a> (1 vote) </li> I was wondering if there was a way to remove everything outside the <div> and <a> tags, in this case the (1 vote) string, with jQuery or regular javascript. Thanks in advance!
Tags (comma-separated)
Save Edits
Cancel