Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

removing some td and tr by class

by bigup401 (Pilgrim)
on Dec 15, 2020 at 16:42 UTC ( [id://11125240]=perlquestion: print w/replies, xml ) Need Help??

bigup401 has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: removing some td and tr by class
by marto (Cardinal) on Dec 15, 2020 at 16:50 UTC

    Mojo::DOM makes this trivial. Read the docs, super search has some examples, post your code if you have any problems.

    Update: s/of/if/. Thanks LanX.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: removing some td and tr by class
by stevieb (Canon) on Dec 15, 2020 at 16:52 UTC

    Yet another "question" that doesn't include context, current output, desired output, no input, no effort at trying to solve the problem, or any detail whatsoever.

    Pick up the slack and put in some effort. We've been wasting far too much time trying to help someone who doesn't even show a modicum of respect or appreciation for anything.

      Please mark your posts when editing:

      Yet another "question" that doesn't include context, current output, desired output, no input or any detail whatsoever. Calls for an equally vague and out of context answer.

       $(document).ajaxStop( function() { var match = $('.transactionDescription:contains("TRANSAC"):contains("TEST")'); if (match.length > 0) { match.each(function(idx, elmnt) { console.log("TEST removed"); $(elmnt).parents('tr:first').hide(); }); } });

      Pick up the slack and put in some damned effort. We've been wasting far too much time trying to help someone who doesn't even show a modicum of respect or appreciation for anything.

Re: removing some td and tr by class
by Bod (Parson) on Dec 15, 2020 at 19:09 UTC
    how can i remove some td and tr by class

    This looks more like a CSS issue than a Perl issue!

    .someClass { display: none; }

      There's no reason to believe this based on anything OP has said.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11125240]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found