Bootstrap modal Uncaught TypeError: Object [object Object] has no method 'modal'

Viewed 4042

Trying to work with bootstrap I am getting an error written in title

my code

function closeDialog () {
    $('#windowTitleDialog').modal('hide'); 
};

these are the files included

  <link href="http://static.scripting.com/github/bootstrap2/css/bootstrap.css" rel="stylesheet">
  <script src="http://static.scripting.com/github/bootstrap2/js/jquery.js"></script><style type="text/css"></style>
  <script src="{{=URL(request.application,'static','js/bootstrap-transition.js')}}"></script>
  <script src="http://static.scripting.com/github/bootstrap2/js/bootstrap.js"></script>
  <script type="text/javascript"src="{{=URL(request.application,'static','js/modal.js')}}"></script>

any suggestions??

1 Answers
Related