Im trying to find a way to hide multiple table rows using something like
... in my table, the rows are assigned and 'id' based on dynamic content drawn from a database... the id is the content type ... News, Blog, Other... What Im trying to do is wherever (in this table) the TR id is "NEWS" - I want that to be able to be hidden using a radio button with an onclick that calls javascript or something to trigger the 'hide'.
Is this do-able ... do I need to post this in the Javascript forum instead?
Code:
document.getElementById("News").style.display = 'none';
... in my table, the rows are assigned and 'id' based on dynamic content drawn from a database... the id is the content type ... News, Blog, Other... What Im trying to do is wherever (in this table) the TR id is "NEWS" - I want that to be able to be hidden using a radio button with an onclick that calls javascript or something to trigger the 'hide'.
Is this do-able ... do I need to post this in the Javascript forum instead?