繁体   English   中英

onclick =返回window.confirm在串联的php字符串中不起作用

[英]onclick= return window.confirm not working in a concatenate php string

这是我对这个论坛的常问问题,希望从我的问题中找到一个,在删除消息弹出确认时,我无法显示消息“ retrun.windows.confirm share(“ blah blah blah”)“,以获取信息。

这是我使用的代码

$msg=$msg .'
<tr>
            <td>'.$row["Lib_Fr"].'</td>
            <td>'.$row["Lib_En"].'</td>
            <td>'.$row["Lib_Es"].'</td>
<td > <a class="image_sup" href="bo-gestion-contenu.php?id_LigneSup='.$row['_ID'].'&Table='.$_SESSION['NomTable2'].'" onclick="return window.confirm("dd");">
                                                  <img height="15" border="0" width="14" src="design/ico-delete.gif"/>
                                                  </a>
        <a class="mouse" onclick="SimpleModal.open("Contenu_Maj.php?ID=".$row["_ID"]."&Table=".$_SESSION["NomTable2"]."", 350, 500);" >
                                                  <img height="15" border="0" width="14" src="design/detailed.png"/>
                                                  </a>
        </td>
        </tr>';

一个class =“ mouse” onclick =“ SimpleModal.open(” Contenu_Maj.php?ID =“。$ row [” _ ID“]。”&Table =“。$ _ SESSION [” NomTable2“]。”“,350,500) ;“

您想在此处使用撇号连接php值

PS:抱歉,我在移动设备上无法使用所见即所得的编辑器

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM