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