I have some radio buttons on my page, and I need the value of a variable to change depending on what radio button is selected. I'm not sure how to return the new value so I can use it outside of the change function. Thanks for any help.

Code:
$jq('.some-radios').change(function(){
  if($jq('input[name=choose-radio]:checked')){
    var currentID = $jq('input[name=choose-radio]:checked').val();
    return currentID;
  }
});
console.log(currentID);