Hi I want to ask somebody if is possible to do this with Jquery:
I have a few select elements in a form:
select A
select B
select C
select D
select E
select F
button X
button Y
In the element select A I choose something what I want to do. Select E is titled “Group”. In the default option of A it has low priority so the E (Group) is on the end of list. But if I change A to next option so priority of E (Group) changes to high. [B]So in this point I need to get the E element instead of position B.
Do you have some idea how to shift the elements? Maybe is only solution to create recursive function to copy elements to memory, remove elements, resort elements in memory and append the elements from memory back to parent element? Or do you have some simpler way?