jq cascading determines whether the last select is selected
when clicking on select.the following code is not quite right. Ask for advice
<select name="" class="sel1">
<option value="0"></option>
<option value="1">1</option>
<option value="2">2</option>
</select>
<select name="" class="sel2">
<option value="0"></option>
<option value="1">1</option>
<option value="2">2</option>
</select>
$(function () {
$(".sel2").click(function () {
if($("-sharpsel1").attr("selected",false)){
alert("");
}
})
})