Forum How do I...?

Changing page order?

dsusco
Is there anyway to move a group of games from the end of the document to page 2 of it?
mikeday
These kinds of content transformations are probably best done with JavaScript.
dsusco
Games should be pages.
dsusco
Thanks Mike. Any pointers on where to look for that? JS guide or library?
dsusco
I guess I could just move it in the DOM. Nevermind, it's early.a
mikeday
jQuery works for content manipulation, or you can just use the DOM api directly.

For example, if you had a div with a specific ID, you can call document.getElementById to access it, then remove the element from its parent and insert it somewhere else in the document.