var value = $("select option:selected").next().val(); if (value == "" || value == undefined){ value = $("select option").eq(0).val(); }