In my effort to fit more stuff on smaller screens, I’m trying out jquery to hide tables on a page. Very early in my testing, it’s looking promising, but I’m having a problem figuring out how to have my first show/hide start out showing instead of hiding. Here’s the jquery that I’m using:
Not to be stupid, but why run the jquery at all if you’re going to be showing it - isn’t that expected, default behavior. Why force the browser to do something it does natively?
Thanks very much Paul. I had tried it but had left the wrong ., causing a space where there shouldn’t have been. Display now works as hoped.
I haven’t figured out the text swapping properties on the button or the “close all but this” portion of my plan, but have some more threads to mine before asking about it.