I'm trying to use the AUI single select component in an edit view; I'd like to select a value in the list on page load but can't figure out how to make it happen the right way.
// Nothing is set by the following. If I give the options a value and try to // set that, the same thing happens. document.getElementById('login').value = 'Dropbox'; // Results in undefined alert(document.getElementById('login').value);
It looks like I can set "selected='true'" on an option (not documented in the link above) which mostly works, but the associated image is not displayed in the selected value (see jsbin example.)
Is there some other way I should be going about this? Thanks.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG