javascript get optgroup of selected option
document.querySelector('select[name="lstparameters"] option:checked').parentElement.label
Are there any code examples left?
New code examples in category Javascript
document.querySelector('select[name="lstparameters"] option:checked').parentElement.label