Bootstrap.js throws a selector option error: selector option must be specified when initializing tooltip on the windows.document object

前端 未结 1 672
被撕碎了的回忆
被撕碎了的回忆 2021-01-17 11:26

When I try run my web application in bootstrap.js I get the following error:

Unhandled exception at line 1306, column 7 in localhost:7904/Scripts/boot

相关标签:
1条回答
  • 2021-01-17 11:48

    I re-ordered the libraries in the following way:

    <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
    <script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js" integrity="sha256-xNjb53/rY+WmG+4L6tTl9m6PpqknWZvRt0rO1SRnJzw=" crossorigin="anonymous"></script>
    

    Next I put all personal javascripts after. That seemed to take care of the issue.

    0 讨论(0)
提交回复
热议问题