Looking for a way to utilize onChange() only on Internet Explorer using Javascript, HTML, CSS (No Jquery). My current code successfully sends the input to my function upon onChange(), but it seems to work smoothly on Chrome and not on IE. Is there a method to make it function similar to Chrome's behavior or is there an alternative approach that would trigger the function after selecting an option? If not, I might have to modify all 400 lines of my script code :(
<label>Choose a browser from this list:
<input id = "input1" list="table1" name="myBrowser"
style="width: 500px;" onchange="castvote('input1','table1')" onclick="test('input1')"/>
</label>
<datalist id="table1">
<option value="Firefox">
<option value="more options">