</div><div class="example-code-section"><h3>JavaScript</h3><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font">select = <span class="hljs-keyword">new</span> hx.InlineSelect(<span class="hljs-string">'#select'</span>)
select.items([<span class="hljs-string">'Red'</span>, <span class="hljs-string">'Green'</span>, <span class="hljs-string">'Blue'</span>])
select.value(<span class="hljs-string">'Red'</span>)</code></pre></div></div></div></div></div></div> </div></div></div><di