Drop Down Menu Value vs Select Option
AnsweredGood afternoon,
I created a drop down menu in ticket fields. I named one of the options Q Drive. When i collect the selected value the user picks, it returns to me q_drive so i believe Zendesk changes the value on the backend. How can get the selected value rather than hidden value from a dropdown.
$("#request_custom_fields_1260808799070").val(); returns q_drive
and $("#request_custom_fields_1260808799070").text(); does not work
-
Hi @...
Welcome to the Zendesk Community!
Please try this:$("a[aria-labelledby*=1260808799070]").text();
Hope this helps!!
-sushant -
thank you very much, that worked.
-
How can we do the same for a Date field? ie, get the Date the user selected?
Please sign in to leave a comment.
3 Comments