Automatic Reordering of <li> elements
Hi there,
I have a set of <li> elements I would like to effectively shuffle (taking the bottom one and putting it on top). What would be the best way to do this?
The list -
- <ul>
- <li><a href="#">link 1</a></li>
- <li><a href="#">link 2</a></li>
- <li><a href="#">link 3</a></li>
- <li><a href="#">link 4</a></li>
- <ul>
Thanks
Ralph