So…um, how can I load a specific DIV from a page loaded via ajax?
I have this working
$.get(url,function(content){
//ajax content here
});
there is a div called #content from the page being loaded. I want to load that div into my div called #wrap on the main page.
I was thinking something like this maybe
$("#wrap").load($(content).find("#content"));
Here is what I would do:
The fiddle: http://jsfiddle.net/mazzzzz/P77Ev/