How to get value of dropdown menu in semantic ui?
<p>I have this code but I don't know how to get selected value.Where should i give id value for this list?</p>

<pre><code>&lt;div class="ui compact menu"&gt;
    &lt;div class="ui simple dropdown item"&gt;Question
        &lt;i class="dropdown icon"&gt;&lt;/i&gt;
        &lt;div id="question" class="menu"&gt;
            &lt;div id="type" class="item" data-value="mcsc"&gt;Multiple Choice Single Correct&lt;/div&gt;
            &lt;div id="type" class="item" data-value="mcmc"&gt;Multiple Choice Multiple Correct&lt;/div&gt;
            &lt;div id="type" class="item" data-value="numerical"&gt;Numerical&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>