1

如何使用 jquery popup 显示传递 id?

对于简单的 pass id <a href=".php?id=21" >

但在揭示

    <a href="test.php?id=121"  data-reveal-id="myModal" data-animation="fade"></a>

<div id="myModal" class="reveal-modal">
            <?php include 'test.php'; ?>
        <a class="close-reveal-modal">&#215;</a>
    </div>

我想如何获得我通过 test.php 的 id,对不起,如果我的英语不太好

4

1 回答 1

0

我找到了解决方案

在你的 test.php

$id = print_r(id);

然后回显 $id

于 2013-10-22T09:52:20.667 回答