Recent searches


No recent searches

Drop Down Menu Value vs Select Option

Answered


Posted Mar 16, 2021

Good 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

 


0

3

3 comments

Hi @...

Welcome to the Zendesk Community!

Please try this:

$("a[aria-labelledby*=1260808799070]").text();

Hope this helps!!

-sushant

0


thank you very much, that worked.

0


How can we do the same for a Date field?  ie, get the Date the user selected?

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post