Helpful Information
 
 
Category: DOM and JSON scripting
moving chunks of html around

i have a bunch of sequentially-numbered divs:

<div id="box-0"> ... </div>
<div id="box-1"> ... </div>
<div id="box-2"> ... </div>
<div id="box-3"> ... </div>

etc... How would I say "move box-3 and put it in between box 0 and box 1"

I'm not looking for a complete answer here, just some ideas about what methods are available

Nevermind ... should have read WA's post (http://codingforums.com/showthread.php?threadid=2416)










privacy (GDPR)