$('#my-select-id').change(function(e){ if(e.target.value === 'special') { displayDialog(); } });
You have to listen for the change event:
how about if you select a certain radio button?
i imagined this would only be for a dropdown box! thanks :)
Body...
Discussion