Pesquisas recentes


Sem pesquisas recentes

Drop Down Menu Value vs Select Option

Respondido


Publicado 16 de mar. de 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 comentários

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação