select tag value attribute code example Example: html select tag attributes var status = $('#listbox-taskStatus option:selected').attr('status');