Show/hide fixed footer

Show/hide fixed footer

Is there an official way to show/hide a footer?  What I'm trying to do is have the footer initially hidden and then display it programmatically.  I've tried using style="display: none" on the footer and then $(..).show() but it doesn't actually display until i scroll or tap the screen.