title: Uncaught ReferenceError: $ is not defined at http://localhost/project/public/user/1/edit:308:9 in Laravel
body: <p>Jquery</p>
  
  <pre><code>&lt;script src="http://localhost/project/public/plugins/jQuery/jquery-2.2.3.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>my code</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
          function readURL(input){
            if(input.files &amp;&amp; input.files[0]){
              var reader = new FileReader();
              reader.onload=function(e){
                $('#showimages').attr('src', e.target.result);
              }
              reader.readAsDataURL(input.files[0]);
            }
          }
          $("#inputimages").change(function(){
            readURL(this);
          });
          &lt;/script&gt;
  
  
          &lt;img src="" id="showimages"&gt;
          &lt;input type="file" name="images" id="inputimages"&gt;
  </code></pre>
  
  <p>and i got this error</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: $ is not defined
        at <a href="http://localhost/project/public/user/1/edit:308:9" rel="nofollow noreferrer">http://localhost/project/public/user/1/edit:308:9</a></p>
  </blockquote>
  
  <p>*line 308 -> <code>$("#inputimages").change(function(){</code></p>
  
  <p>Im new in js and jquery, Help me solve this error please...</p>
  
  <p>I wrote the script out of the section. That was why the error occurred, see my answer.</p>