hi sdmitch,
I doing something like what you posted but not with selection rather with input field to add behaviour something like autofill in search box. I am using a specific HTML file for the webdialog window and using javascript function to fill the data into the datalist. But In my case it seems the ".inner_html" in not working. I don't know what is the reason may sketchup is not supporting or something else.
Here's code sample:
In javascript:
function setData(projectnos, roomnames){
proj_no = projectnos.split(",");
var options = '';
for(var i = 0; i < proj_no.length; i++)
options += '<option value="'+proj_no[i]+'" />';
document.getElementById('proj').innerHTML = options;
}
In HTML:
<input type="text" name="ProjectNumber" list="proj" />
<datalist id="proj">
<option value="001"/>
</datalist>
If you have some solution for this then please help me it's very helpful for me.
Thank you