How to remove div inside another div using jquery
Hi,In my application iam loading another webpage inside a divtag like below
$("#ContentPlaceHolder1_txtsource").click(function (e) {
e.preventDefault();
$('#divdistance').show();
$('#divdistance').html('<object data="http://www.xyz.asp" />');
});
this is working fine
my requirement is to remove a particular div of http://www.xyz.asp
like this
$("divdistance").children(".navbar-header").remove();
but not working
this should be after loading of http://www.xyz.asp
how it is possible
Regards
Baiju