Wednesday, 14 August 2013

Get block #id from page with Ajax

Get block #id from page with Ajax

How do I get part of code in block #id like .load('url #id') ,but .load()
doesn't get script inside #id
function ocmenu(linkurl) {
$.ajax({
url: linkurl,
cache: true
}).done(function (html) {
$('.new').append(html);
});
}
html.filter('#id') doesn't work

No comments:

Post a Comment