Twitter bootstrap MVC5和引导模式

Twitter bootstrap MVC5和引导模式,twitter-bootstrap,asp.net-mvc-5,Twitter Bootstrap,Asp.net Mvc 5,我的解决方案不起作用,无法在链接中添加引导模式。搜索任何帮助:) $(函数(){ $.ajaxSetup({cache:false}); $(“a[数据模式]”)。在(“单击”上,函数(e){ $('#myModalContent').load(this.href,函数(){ $(“#myModal”).modal({ /*背景:“静态”*/ 键盘:正确 }"show";; }); 返回false; }); }); @Html.ActionLink(“Сззааааааааааааааааба

我的解决方案不起作用,无法在链接中添加引导模式。搜索任何帮助:)

$(函数(){
$.ajaxSetup({cache:false});
$(“a[数据模式]”)。在(“单击”上,函数(e){
$('#myModalContent').load(this.href,函数(){
$(“#myModal”).modal({
/*背景:“静态”*/
键盘:正确
}"show";;
});
返回false;
});
});
@Html.ActionLink(“Сззаааааааааааааааабааааа
引导模式-


信息不清楚(您显示的链接与脚本有什么关系?脚本所指的元素是什么?@Html.ActionLink(“Сззааааааааааааааааааааааааааааааа“#myModal”})
<div class="modal fade" id="myModal" role="dialog" data-backdrop="static" style="resize:both">
    <div class="modal-dialog modal-lg">

        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel" style="text-align: center"><i class="fa fa-plus"></i>&nbsp;Add Friends</h4>
            </div>
            <div id="modalInner" class="modal-body" style="overflow-y:auto; height:450px">

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-outline btn-info" data-dismiss="modal">Close</button>
            </div>
        </div>
    </div>
</div>
<a href="#" class=" btn btn-white btn-xs pull-right"                                       onclick="getData('@ViewBag.LoginUserId')">OPen MOdal
                                            </a>
 function getData(data) {
        //alert(data);
        $.ajax('@Url.Action("ABC")/' + data).done(function (data) {
            $('#modalInner1').html(data);
            $('#myModal1').modal({});
        });
    }