Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- moveToEnd(2);
- });
- function moveToEnd(id){
- var $div = $("#" + id);
- var divsList = $("div");
- $("#" + id).remove();
- $(divsList[divsList.length-1]).parent().append($div);
- }
Add Comment
Please, Sign In to add comment