I'm trying to capture the actual text values of the selected options of in a drill-down question.
Qualtrics.SurveyEngine.addOnPageSubmit(function()
{
var location = jQuery("#"+this.questionId+" select").eq(0).val();
}
locationhas an integer value of the position in the list. Calling
jQuery("#"+this.questionId+" select").eq(0).text()
returns the full list of all options as a string.
How do I only get the one item that was select as the text of the option selected?
Thank you!