But how would I set that up using the onClick() command to hide the div? I'm assuming I can't just copy and past the original code and switch the var to something different because the function is still show().
I want it to work the same way as with the original code, just when the button it clicked, the div will be set to display:none;
I am going to keep trying to figure this out myself because I feel like a free-loader haha
EDIT: Got it! onclick="hide('div');hide('div');"