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