0
I have a javascript file 'zip code'. where there is a method called displays(); but when I run this method in my current file that is on the page next to HTML, it doesn’t work, why?
cep.js
$ (document).ready(function () {
     function exibe()
     {
          alert ('Hello');
     }
  });
index.html
HTML
.
.
.
@section ('page-script')
<script src = "{{asset ('js/cep.js')}}"> </ script>
   $ (document).ready(function () {                    
             exibe();    
   });
</ script>
@endsection