snipt

Ctrl+h for KB shortcuts

HTML

Submit en etiqueta select

<select onchange="this.form.submit()" name="valor">
</select>
https://snipt.net/embed/2afee085020098a372f61d4fedc605f1/
/raw/2afee085020098a372f61d4fedc605f1/
2afee085020098a372f61d4fedc605f1
html
HTML
2
2019-06-22T12:33:24
True
False
False
/api/public/snipt/46678/
submit-en-etiqueta-select
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="p">&lt;</span><span class="nt">select</span> <span class="na">onchange</span><span class="o">=</span><span class="s">&quot;this.form.submit()&quot;</span> <span class="na">name</span><span class="o">=</span><span class="s">&quot;valor&quot;</span><span class="p">&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;/</span><span class="nt">select</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
html, select, submit