Show/Hide div on radio button checked
I am trying to Show/hide a div based on a radio button checked. if weekly radio button is checked, hide the div items for Monthly and if monthly Radio button is checked hide the Div items for weekly. My code is not working.