I'd like to put a javascript drop-down choice list on the Run page to allow users to choose the browser to run the automation in. Your sample code contains this:
/* Create the button */
var button = $('<div class="toolbar content-header-toolbar"><a class="toolbar-button toolbar-button-last toolbar-button-first content-header-button button-start" href="javascript:void(0)">Run Automated Tests</a></div>');
Which works great to create a button which is then tied to an action.
Thing is, I'm not a javascript web developer, so I don't yet understand how to add a drop down list to the same page using a similar approach. The html for a drop-down list is totally understandable, but I'm not clear as to where that would go in the UI script.
<select>
<option value="ie">Internet Explorer</option>
<option value="chrome">Chrome</option>
</select>
Huge thanks in advance for any hints. I'm wondering especially where the class names you use come from. Are there particular class names to format a select element?
-Kent