2013-05-04 3 views
0

Я следую учебнику плюс урок по jQuery. В видеоуроке код, скорее всего, такой же, но в Firefox на моем конце он бросает ReferenceError: jQuery is not defined в консоль Firebug.jQuery не определена ошибка в Firefox

Это весь мой код -

<!DOCTYPE html> 
<html> 
    <head> 
     <title>Day 1 jQuery</title> 
     <style> 
     li {color:blue;} 
     </style> 
    </head> 
    <body> 
     <ul> 
      <li>List item 1</li> 
      <li>List item 2</li> 
      <li>List item 3</li> 
      <li>List item 4</li> 
      <li>List item 5</li> 
     </ul> 
     <srcipt src="http://code.jquery.com/jquery-latest.js"></script> 
     <script> 
     jQuery(document).ready(function(){ 
     var list = jQuery('ul li'); 
     console.log(list); 
     }); 
     </script> 
    </body> 
</html> 

Я тоже смотрел на нее, но не помогло: $ is not defined error in firefox with jquery

Учебники ссылка - https://tutsplus.com/course/30-days-to-learn-jquery/

+1

просто опечатка следует читать

1

Update:

<srcipt src="http://code.jquery.com/jquery-latest.js"></script> 

С

<script src="http://code.jquery.com/jquery-latest.js"></script> 
+0

Thx bro, дающий мне знать, что я ошибся :) +1 – Trialcoder

+0

@Trialcoder, Thanks –

Смежные вопросы