Forums

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

Not able to get value from aui-dropdown-menu in server app

Saravana Kumar July 4, 2019

Hi  folks,  am using <aui-dropdown-menu> in my plugin. problem is i not able to get select value from drop down. jira by default they not given option of value in aui-item any suggestions.

And we don't have value="" atribute in aui-item. please any help me to get this problem solve.

<button class="aui-button aui-dropdown2-trigger" aria-controls="lists" onclick="showCheckboxes()">
Project List
</button>
<aui-dropdown-menu id="lists">
<aui-section>
    <aui-item-checkbox interactive>option1</aui-item-checkbox>
</aui-section>
</aui-dropdown-menu>

JS:

var lists= $("#lists").text();
alert(lists;

Thanks in advance.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events