javascript - how to avoid from multiple jquery conflict in one page -
i using laravel
blade
master layout
, in master layout
i 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
Post a Comment