There's a lot of other stuff going on, but I have this working code which uses a click function on two divs which does a bunch of other stuff, like this:
<div id="Single">Single</div><div id="Regular">Regular</div>
Here's the function:
$(document).on('click', '#Single , #Regular', singleToDDSwitch);
I need to keep the same functionality but use a select list as the trigger instead. Here's the example select list:
<select><option id='Single'>Single</option><option id='Regular'>Regular</option></select>
Can anyone help, I'm not that hot at jQuery?