【发布时间】:2020-10-08 04:59:04
【问题描述】:
*大家好,我想得到输入的名字,因为她的名字有 ID,如果我使用表单方法 POST 来获取页面重新加载,那么我不能在同一页面上使用弹出窗口**对不起我的语言:( *
enter code here
<td>
<button class=" button" onclick="show()" style="vertical-align:middle" type="submit"
name="<?php echo $r['Id_Etudiant']; ?>" >
<span>Editer<i class=" fas fa-user-edit"></i></span>
</button>
</td>
函数 onclick show() ,我的函数 js 用于调用弹出窗口。
这是我需要放置数据的 div,(它是我的弹出窗口)。
enter code here
<div class="background_page_modify" id="page_modify" onclick="hide()">
<div class="page_etudiant" onclick="event.stopPropagation()">
<div class="closebtn" id="closebtn" onclick="hide()">
<div class="circle"> +</div>
</div>
<div class="etudiant_box">
<?php
/*here is window popup where i wanna display my data but i cant and if i use form method POST i cant fixed my popup cuz the page is reload */
?>
</div>
</div>
【问题讨论】:
-
欢迎来到 Stackoverflow。请花一些时间阅读how to ask a good question 上的政策文章,然后花一些时间更新您的帖子,使其包含一个写得相当好的问题,使用正确的文本与代码标记。
标签: javascript php html css