Is it possible to search in a html table by applying conditions?

Say I’ve a web page which has a html table.
The columns in relevance are A and B.
I want to search for the condition:
if A=a AND B=b then highlight it.
Is it possible to do so?

1 Like

did you try it?

seems like plausible to me!!

happy coding :slight_smile:

2 Likes

I can’t brainstorm any thing as nothing in google

This is a version update to a previous post of mine.

There is html table in a website that I monitor. There are 2 columns of interest. A and B.

I want to search for

if (A="a" AND B="b")
{
// select the text
}

I googled but found nothing and don’t even know if this is even possible.


So, a new thing got figured out.

(136) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, …]

This is what I get as module-list.component.ts in the console.

Now, all I need to do is to somehow access this module from console of client (Is it possible?), loop through the array and compare the key with a predefined value (which is basic scripting).

Any guidance will be appreciated on how to access the ts module.

Hello!
I am not advanced even near to answering your question.
But, I was wondering if you have tried typing it into Bing Chat.

I turn there for help, sometimes, with my being stuck. Sometimes, it helps.

Wishing you success!

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.