模态内的伪造不起作用

时间:2018-02-10 09:16:03

标签: javascript jquery css twitter-bootstrap

{include file="guest/guest-preview.tpl"}的表格为id = preview_invitees_table

 <div class="container">                
        <div id="preview_modal" class="modal fade" role="dialog">
            <div class="modal-dialog">                       
                <div class="modal-content" style="width: 170%;margin-left: -37%;">
                    <div class="modal-header">                                
                        <h4 class="modal-title"><center>招待プレビュー</center></h4>
                    </div>
                    <div class="modal-body">                        
                        {include file="guest/guest-preview.tpl"}
                    </div>

                    <div class="modal-footer">                                
                        <div class="bloc button">                            
                            <button type="button" class="btn btn-onhover btn-default" data-dismiss="modal">戻る</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div> 

JS

 $('#preview_invitees_table').DataTable({ searching: false, "info": false });

0 个答案:

没有答案