how to select last option in select jquery by id code example Example: get the last option from select jquery var myVal = $('.someclass option:last').val();