gordonisnz Posted October 25, 2017 Share Posted October 25, 2017 https://www.w3schools.com/w3css/w3css_sidebar.asp Hello. I'm researching the above page as a starting point, and ive also googled and found there is no "CLASS" version of the getElementById command. basically, I want to do a full table, but a number of rows (by criteria) will be given a class name. what i am after is a way to "hide" or remove those selected rows from the table. but if i press a button, the rows will re-emerge & show themselves into the table - NOT as a separate / distinct table, but seamless into the same table. has anyone got a W3CSS (javascript) command/process to do this by class instead of ID ? Link to comment Share on other sites More sharing options...
dsonesuk Posted October 25, 2017 Share Posted October 25, 2017 (edited) Not very good at google searching then? https://www.w3schools.com/jsref/met_element_getelementsbyclassname.asp try 'elements by classname' in google (without quotes) Edited October 25, 2017 by dsonesuk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now