Hello,
I have a straightforward 3 x 10 grid, but depending on the input, I want to hide various rows containing no data.
I have a straightforward 3 x 10 grid, but depending on the input, I want to hide various rows containing no data.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
if (element.innerText === "") {
element.style.display = "none";
}
if (!element.hasChildNodes()) {
element.style.display = "none";
}
Oh, I didn't know that was a thing, neat!if it's truly empty you can use :empty to style it.
You don't have permission to view the spoiler content. Log in or register now.