http://pastebin.com/pVqAxv1Z
I'm looking to 'get' a page, seperate what's between the custom <edit> tags and place it in the current page to a specific element. Currently the function is putting the Whole page to the element.
Printable View
http://pastebin.com/pVqAxv1Z
I'm looking to 'get' a page, seperate what's between the custom <edit> tags and place it in the current page to a specific element. Currently the function is putting the Whole page to the element.
Not sure if this is quite what you're looking for, but give this a try:
Code:var $data = $(data);
$('#header').html($data.find('edith'));