How to get index of selected option in Select control
It took me some time to get the index of selected value of <select> html control. I tried to use 'attr', but 'prop' should be used for this.
$('#selectControlId').on('change', function () {
var selectName = $(this).val();
var i = $(this).prop("selectedIndex");
alert(i);
});

Azure.RequestFailedException when start App in Visual Studio
Determine the first and last days of a quarter with Day.js
Login as another user in SharePoint 2019 on-premises site in Chrome