javascript getelementbyid visible

Hi,

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?
LVL 1
joyacv2Asked:
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
0
 
Sar1973Commented:
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.
0
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.