I am trying to create a product page. I want that when someone, clicks on Buy, a pop-up menu should open. I am trying to use the Checkbox hack to make this work. However, I am unable to do so. The buy button toggles the checkbox succesfully, but the input[type=checkbox]:checked is not working. Please Help. My code follows:
I want the section sizemenu to be hidden and to become visible when I click on the buy button. I apologise if my question is not very clear. Thanks in advance.
Preview: http://codepen.io/anon/pen/mDqpw
UPDATE: Reduced the amount of code to bare minimum.