iframeを使用して CI プロジェクトに html ページを追加します。今、含まれているページから最初の div を削除したいと思います。そのdivのIDはありません。私はjqueryコードを書きますが、iframe全体を削除します。ここにあります
$(document).ready(function(){
$("iframe").load(function(){
//$('div:first').remove();
$("body").find("div:first-child").remove();
});
});
html
<div class="span12">
<iframe id="patrolIframe" width="100%" height="900" frameborder="0" scrolling="yes" allowtransparency="true"
src="http://...../map.html"></iframe>
</div>