Alright - I decided to drop the select dropdown and go with the solution rincewind made. I also went with your suggestions to avoid the button. Everything seems to work fine.
There is one more thing though that I need!
I need the <div class="codeDisplay();"></div> to be shown 2 times on the page.
- Next to the phone number
- Next to the fax number
I'm no javascript wizard, so I don't know what needs to be added for this to work. Can you help with that?