hide part of the content of an element
Posted
by
user1843471
on Stack Overflow
See other posts from Stack Overflow
or by user1843471
Published on 2012-11-21T22:48:30Z
Indexed on
2012/11/21
22:59 UTC
Read the original article
Hit count: 247
Sorry, this may be kind of weird problem:
I have an existing HTML code, which I can not directly edit or delete parts of it. The problem is: Inside a div-element in this code, there is some text which I want to hide. There are also another element inside of this div, which I don't want to hide. It looks something like this:
<div>
....Text I want to hide....
<table> ... Text I don't want to hide...</table>
</div>
My question: Is it possible to hide the "....Text I want to hide...." while not hiding the "... Text I don't want to hide..."? (for example using javascript?)
© Stack Overflow or respective owner