How can I hide an id from its contents in Javascript/jQuery ?

Posted by Shady on Stack Overflow See other posts from Stack Overflow or by Shady
Published on 2010-05-26T17:01:52Z Indexed on 2010/05/26 17:11 UTC
Read the original article Hit count: 344

Filed under:
|
|

I have a bunch of this videos on this website with this source:

<li id="vidLink-1498229769" class="videoContainer vidLink">
    <a href="/p/watch/1498229769:GM1ryG4eoTA6sMZV9wtDEpocuehpzDni">
        <span class="content-video-thumb-hover"></span>
        <img src="http://lockerz.vo.llnwd.net/o35/Lockerz/14/593/MEVIO-EmoGirlTV-SavesTheDay-TH1.jpg" id="clThumb_1498229769" class="videoThumb">
    </a>
    <a href="/p/watch/1498229769:GM1ryG4eoTA6sMZV9wtDEpocuehpzDni" class="videoTitle">Emo Girl TV - Saves the Day Interview</a>
                    <span class="PTZ-status PTZ-awarded">PTZ have been awarded for watching this video.</span>

Is it possible to hide the entire id, the vidlink-* part if the span class is that?

<span class="PTZ-status PTZ-awarded">PTZ have been awarded for watching this video.</span>

I want to hide the videos I've already seen in the site (with greasemonkey), but I have no idea how...

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery