I have a UL with some items. For example
<ul class='ordemQuestoes'>
<li idquestao="28" >Questao 28</li>
<li idquestao="2" >Questao 2</li>
<li idquestao="17" >Questao 17</li>
</ul>
When I save an issue, I need to save the order in the bank that is between 3. And that number may vary.
At the time of saving I have the idquestao in hand, so how do I go through idquestao 17 for example I can get 3, third position?
I could not think of a logic to achieve this result.