JQuery funktioniert nicht im Firefox funktioniert aber in Chrome

Ich habe Probleme mit jQuery und Mozzila Firefox.
Alles funktioniert gut in Chrome, aber Firefox irgendwie nicht sehen, jQuery.

Dies ist, wie ich call jQuery

 <!-- Favicon and touch icons -->
    <link rel="shortcut icon" href="assets/ico/favicon.png">


    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <script type="text/javascript" src="assets/bootstrap/js/datepicker.js"></script>

Und das ist, wo es fehl (Fehler: ReferenceError: $ ist nicht definiert):

 <script>
        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));
                    }, 
                  });

        }
</script>

Bitte um Hilfe, was könnte die Ursache sein?

welche Fehler sind Sie immer?
Vielleicht auch nur FF browser cache Problem... Weil sonst, würde der code funktionieren.
stellen Sie die vollständige Anfrage Strg +F5
Sollten Sie erwähnen, den Fehler auch!
(error is: ReferenceError: $ is not defined)

InformationsquelleAutor dj.milojevic | 2015-12-15

Schreibe einen Kommentar