Skip to content

Instantly share code, notes, and snippets.

@codebleeder
Created April 17, 2014 23:20
Show Gist options
  • Select an option

  • Save codebleeder/11016811 to your computer and use it in GitHub Desktop.

Select an option

Save codebleeder/11016811 to your computer and use it in GitHub Desktop.
moving elements in jQuery using .after()
$(document).ready(function(){
$('element1').after('element2');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment