Let\'s say I have three
Sorry for bumping this thread
I stumbled over the "swap DOM-elements" problem and played around a bit The result is a jQuery-native "solution" which seems to be really pretty (unfortunately i don't know whats happening at the jQuery internals when doing this) The Code: The jQuery documentation says that
$('#element1').insertAfter($('#element2'));
insertAfter() moves the element and doesn't clone it