Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Removing element from HTMLDocument  RSS feed

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

How can I remove an Element from a HTML Document.

Here is the situation.

In some cases I want to remove the entire


and sometimes just the <li></li> element.

Is there anyone who has mastered this problem?

I have already tried the sample found at Javaranch remove
[ December 16, 2005: Message edited by: Mathias Nilsson ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!