私が持っているものでloadPopupManual()
DIVを埋めるためにどのように変更する必要がありますか? 特に、 で指定されたテーブルを に挿入する必要があります。このテーブルには、 のスクリプトで定義されたすべての機能 (一部のボタン) が含まれている必要があります。#popup_manual
content.php
content.php
#popup_manual
content.php
test.php
$(document).ready(function() {
loadPopupManual();
});
function loadPopupManual() { // to load the PopupManual DIV
$('#popup_manual').fadeIn("slow");
}
<div id="popup_manual">
// I need to fill this DIV with what I have in 'content.php'
</div>
content.php
<?php
include_once 'include/connect_db.php';
$query="SELECT * FROM aircrafts;";
$result=execute_query($query);
?>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
//...
}
</script>
<table>
<tr>
//... some content is inserted here from DB ($result)
</tr>
</table>