The idea is simple: since normal input fields (including radio buttons, checkboxes, textareas, etc) can only be styled to a small degree, they have to be hidden and their visual appearance replaced with similar working, new, fully customizable constructs. In theory, that doesn't sound really complicated. But from theory to practice there is a long way.
But after I finished my work, I realized that I cannot use dynamically changing select input. (you have to choose an option from first input to be able to choose an option from second one).
Here you can see what I'm talking about:
In fact it works fine with my form too, but you just cannot see this, because real input is hidden under styled one, that just don't change how I want it to.
Does anyone know a solution how to get this thing work? How to change it dynamically without reloading a page?