javascript getelementbyid visible


I have the following code:

var tbl = document.getElementById("table1")

this select the entire elements of the table, but when i apply a filter, then i need to declare the var tbl to select only the visible rows of the table, how i add a "visible" specification in that code?
Who is Participating?
leakim971Connect With a Mentor PluritechnicianCommented:
the right question is : It is possible to specify or select the row I need to be visibleor not?

The answer is : No
You cannot with that code; instead, you could develop an iteration that inspects each tag of your HTML and checks if its visible, hidden or not specified.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.