使用php或javascript传递模式内容
我非常想做的是,打开一个新标签(我的网站),并在加载标签时启动一个模式。我的模态是从不同的php类获取模态内容,下面是该类的代码:使用php或javascript传递模式内容,javascript,php,twitter-bootstrap,Javascript,Php,Twitter Bootstrap,我非常想做的是,打开一个新标签(我的网站),并在加载标签时启动一个模式。我的模态是从不同的php类获取模态内容,下面是该类的代码: <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">×</button> &时代; 这是您的优惠券代码 购物结束后,在收银台粘贴此代码 问题在哪里?您需要什么帮助?我需要在新选项
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
&时代;
这是您的优惠券代码
购物结束后,在收银台粘贴此代码
问题在哪里?您需要什么帮助?我需要在新选项卡中远程添加内容(从外部链接)。这并不能以任何方式解释问题。你尝试过什么,哪里出错了,你想添加什么数据。。。一般来说,我们只需要更多的信息
<div class="modal-body copycode">
<h4>Here's your Coupon Code</h4>
<p>Paste this code at checkout when you are done shopping.</p>
<span class="get-code" id="voucher_code_<?=$coupon->deal_id?>_get">
<?=$coupon->voucher_code;?></span>
<p><a class="copy-code" target="_blank" id="<?=$coupon->deal_id?>"
href="<?=site_url();?>deal/deal_exitclick_id/<?=$store->store_id;?>
/<?=$coupon->deal_id;?>">Copy Code</a>
</p>
<a target="_blank" href="<?=site_url();?>deal/deal_exitclick_id
/<?=$store->store_id;?>/<?=$coupon->deal_id;?>">Click here to go to
<?=$store->name;?> >>></a>
</div>
<a href="<?=site_url();?>front/popup_login_simple/<?php echo $row->store_id;?>"
class="get-code" data-toggle="modal" data-target="#retailorPopup">
<div id="copy_code<?=$i;?>" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
</div>