javascript - how to avoid from multiple jquery conflict in one page -


i using laravel blade master layout, in master layouti import script this:

<script src="{{url::to('public/src/js/vendor.js')}}"></script> 

in master layout. , create new blade extends master layout

@extends('layouts.master') , in new blade import script this:  @section('contentjs')     <script src="{{url::to('public/src/js/autocomplete.js')}}"></script>  @endsection 

but 2 script conflict not working script in new blade create. how can avoid conflict.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -