Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to show a popup when change type of issue

laumain jerome October 23, 2019

Hello,
I would like to display a popup when changing the type of issue (unrecorded value).
I got some code:
"AJS. $ ( "# Issuetype-field"). Val ()"
this allows me to have the current value, but how with jquery recouped the value to "onchange"?

thanks

 

1 answer

0 votes
Aleksandr Zuevich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 24, 2019

Hi @laumain jerome ,

Maybe you need something like this:

AJS.$("#issuetype-field").on('change', function() {
//do what you want with this.value , e.g.: alert( this.value ); });
laumain jerome October 25, 2019

hi aleksandr,

I tested this ... but it doesn't seem to work in my case :(

no matter, I proceed differently

thanks

Suggest an answer

Log in or Sign up to answer