I found quite a few JavaScript examples when googling for this. However, none of them worked for me.
I want to achieve a relatively simple task: By pressing an add field button in a form a second select field should show up. This should go on indefinitely. Since I’m already using the jQuery library, I would prefer to use it here too.
The page should not reload once you press the add field button.
Check out the sample How to hide, show, or toggle your div.