Button to Toggle Footer?

Button to Toggle Footer?

Is there a way to use a button to toggle the footer to show or hide?  

I know there's a function 

$("[data-role=footer]").fixedtoolbar({ tapToggleBlacklist: "a, button, input, select, textarea, .ui-header-fixed, .ui-footer-fixed" });

But I'm not really sure how to use it...

Any help would be greatly appreciated.