JSFiddle - React, Tailwind, and code Playground

by Hemal Rathod

HTML

<select id="select-filter-item">
<option value="ONE" selected>1</option>
<option>2</option>
</select>

JavaScript

if($("#select-filter-item").find(":selected").attr("value")!=null){
    alert("VALUE IS THERE");
}
else
{
		alert("VALUE IS NOT THERE");
}