如何获取特定帖子的表格信息以显示在查询窗口中。打开?我尝试了一些东西,但我的Jquery技能并不好。这似乎有可能,但它让我望而却步。
<table>
<?php $i=1; foreach ($retrieve_data as $retrieved_data){ ?>
<tr>
<td><?php echo $retrieved_data->dname;?></td>
<td><?php echo $retrieved_data->dateenglish;?> | <?php echo $retrieved_data->datehebrew;?></td>
<td><span style="color:#f26522 !important">CLICK CANDLE TO LIGHT</span></td>
<td>
<script type="text/javascript">
function MiniCandle () {
window.open("http://www.mountsinaiparks.org/digital-yahrzeit/mini-candle/", "_blank", "toolbar=no,scrollbars=no,resizable=yes,menubar=no,status=no,titlebar=no,top=0,left=0,width=260,height=220");
}
</script>
<a href="" onclick="init();"><img height="50" width="50" src="http://www.mountsinaiparks.org/digital-yahrzeit/wp-content/themes/yahrzeit-theme/bootstrap/images/Candle01.gif" class="img- responsive" alt="Yahrzeit Candle" style="margin:auto !important;"></a>
</td>
</tr>
<?php $i=$i+1; } ?>
</table>