Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

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?
0
joyacv2
Asked:
joyacv2
1 Solution
 
leakim971PluritechnicianCommented:
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now