最近搜索


没有最近搜索

Drop Down Menu Value vs Select Option

已回答


已于 2021年3月16日 发布

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 条评论

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


请先登录再写评论。

找不到所需的内容?

新建帖子