I have the following <ul>
:
<ul class="opcoes">
<li id="">Escolha a opção abaixo</li>
<li id="1">1</li>
<li id="2">1</li>
<li id="3">3</li>
</ul>
You can change the position of a <li>
to the first position of <ul>
in jQuery by clicking on the given <li>
?