Jquery help in variables

hi ive created this variable but ive tried loads of combinations to refer back to it and im have problems

var hides = $(“button”).hide();

$("#ok").click(function(){
$hides

        });

after i get the click function i want to then access my variable to hide that other div when the button is clicked.