I love using the hide() and show() methods, but I've come across someone's scripting where they never use it.
Instead I see them using attr() for anything related to display.
$("#element").attr("style", "visibility:hidden");
$("#element").attr("style", "visibility:visible");
Is this just purely preferential?
Or is it more beneficial to use one vs the other?