jquery - How to get AppendTo() working in my live page? -


I have 2 links below that control 2 tab content areas below them. I & lt; Div id = "myResponsiveDivID" & gt; & Lt; / Div & gt; from inside & lt; Trying to use appendTo () to move the div id = "map-wrapper-0" & lt; / Div & gt; inside & lt; Div id = "map-wrapper-1" & gt; & Lt; / Div & gt; When you click on any of the 2 links

   

Then my RESPRESSIVE DIVID DIV is what I am trying to move:

  & lt; Div id = "map-wrapper-0" & gt; & Lt; Div id = "myResponsiveDivID" class = "axzmborderbox" & gt; & Lt; / Div & gt; & Lt; Div id = "map-wrapper-1" & gt; & Lt; / Div & gt;  

As you can see, the code I am trying to implement actually works (you will need to see Bella's source to attach the device) . But when the code is on my live page it does not work. When I go to the console, I do not get any JS errors, and I've done a lot of tests but I'm struggling to see why Annex () is not working.

Change jQuery, for example:

  $ ( 'Parent'). ('Click', '.live-child', function () {// action})  

.paint element that is Is always present on the page, is a .live-child element which is a live load for example via Ajax


Comments