title: JQuery does not work in Firefox but works in Chrome
body: <p>I'm having trouble with jQuery and Mozzila Firefox. 
  Everything is working just fine in Chrome, but somehow Firefox does not see jQuery.</p>
  
  <p>This is how I call jQuery</p>
  
  <pre><code> &lt;!-- Favicon and touch icons --&gt;
      &lt;link rel="shortcut icon" href="assets/ico/favicon.png"&gt;
  
  
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"&gt;
      &lt;script type="text/javascript" src="assets/bootstrap/js/datepicker.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>And this is where it fails (error is: ReferenceError: $ is not defined):</p>
  
  <pre><code> &lt;script&gt;
          function ajax_check(){
  
              var id = $("#xml_select").val(); // this is the line where I get error
  
               $.ajax({
                      url: "ajax_check.php?id="+id,
                      success: function(response) {
  
                          var result = jQuery.parseJSON(response);
  
                         //console.log( JSON.stringify(result['ncp'].replace('"','')) );
  
                         var ncp = JSON.stringify(result['ncp']);
                         var id = JSON.stringify(result['id']);
  
  
                         $("#racun").val(ncp.substring(1,12));
  
                         $("#id_podnosilac").val(id.substring(1,5));
                      }, 
                    });
  
          }
  &lt;/script&gt;
  </code></pre>
  
  <p>Please help, what could be causing this?</p>