Html 情态动词不能正常工作?

Html 情态动词不能正常工作?,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我一直在尝试用jQuery编写一个游戏,我已经掌握了大部分的基本知识 我目前正在处理html文件,但据我所知,没有明显的原因导致代码错误 有人能帮忙吗 我正在使用位于此处的引导程序: 我的代码在这里: <!-- Modal --> <div class="modal fade" id="onLoadModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> &l

我一直在尝试用jQuery编写一个游戏,我已经掌握了大部分的基本知识

我目前正在处理html文件,但据我所知,没有明显的原因导致代码错误

有人能帮忙吗

我正在使用位于此处的引导程序:

我的代码在这里:

<!-- Modal -->
<div class="modal fade" id="onLoadModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
    <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">Welcome to Electronics: Evolution Duo!</h4>

        </div>
        <div class="modal-body">
            <p>You are on your way to become the next big electronics producer, but first you must name your store. How will people know what store to go to if it doesn't have a name?</p>
            <br />
            <p>It would also be wise to put your name on the deed to your store.</p>
             <h3>Name Your Store</h3>

            <input class="form-control" id="store" type="text">
             <h3>Name The Owner:</h3>

            <input class="form-control" id="owner" type="text">
        </div> // error on jsfiddle here
        <div class="modal-footer">
            <button type="button" id="modalClose" class="btn btn-success" data-dismiss="modal">Done</button>
        </div>
    </div> // and an error here
</div> 

&时代;
欢迎来到电子:进化二人组!
你即将成为下一个大型电子产品生产商,但首先你必须命名你的商店。如果没有名字,人们怎么知道去哪家商店


把你的名字写在你商店的契约上也是明智的

说出你的店名 说出所有者的姓名: //这里的jsfiddle错误 多恩 //这里有一个错误


我的小提琴在这里:

我添加了这个Java脚本行,它为我工作

    $('#onLoadModal').modal('show');
你可以看一看或者在上面举一个相同的例子


PS:你忘了添加引导javascript文件,小提琴手只是在抱怨,因为你在技术上没有关闭你的
input
标记。试试
。我建议您通过验证器运行HTML,以轻松找到任何标记问题。此代码中没有“技术”错误。以前的东西可能会把它扔掉。如果您使用Jsfiddle的语法高亮显示,它会让您有点不舒服。它想要像XML一样。在小提琴上,有许多未定义的变量,不包括引导JavaScript部分。一旦我把它清理干净,它就工作得很好。