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