With my code below I can read out the selected item in my select box (@selected_type). Is it also possible to read out something like a index number of the selected item? With index number I mean is it the first, second , third option value, of the total option values in the select list. Is that possible?
<td class="td_DiagBuff_data" max-width="150">
<select value="@selected_type" @onchange="@(e => { func_MD_type(e,index); })">
<option value="">--------</option>
<option value="">NC-Machine Data</option>
<option value="">CH-Machine Data</option>
<option value="">AX-Machine Data</option>
<option value="">DR-Machine Data</option>
<option value="">SD-Machine Data</option>
<option value="">R-Parameter</option>
<option value="">GUD</option>
</select>
</td>