jQuery Move div into another div
javascript, jquery
Solution
You can just do this:
$(".link-field-first-ticket-button").appendTo(".event-location-one");
It will move the first ticket button to event location
Problem
I need to move .link-field-first-ticket-button inside .event-location-one here's the fiddle: http://jsfiddle.net/ksV73/ It's a cms so I have no choice in the matter. this is what I'm trying, it's not doing much of anything ``` $(".widget-upcoming-events-blog li").each( function() { var links = $(this).children(".link-field-first-ticket-button").html(); $(this).children(".link-field-first-ticket-button").html(""); $(this).children(".event-location-one").append(links); }); ```