I am using the below javascript to hide a div when a button state selection is chosen but I am using this code on a Content Management System. The code works but only after