Hi,
I'm trying to use javascript to refer to an selectizeinput but the ID comes back null even if I see it in the page source for .
I try to use :
document.activeElement.getAttribute("id")
I look at the page source HTML and see:
<select id="myid" class="form-control" multiple="multiple">
I got the outerhtml
<input type="text" autocomplete="off" tabindex="" style="width: 25.2344px; opacity: 1; position: relative; left: 0px;" placeholder="ALL">
I see no ID, any thoughts how I could use javascript to get the ID of the <select>?