I am using the X-Editable jQuery edit in place library for a Task Status selection field. All it;s stages are shown below from the process of:
$("#Id_Selecteventtype")[0].selectedIndex = 1;