I am now trying to use javascripts in my project. I searched all this morning on the Internet, and found nothing really clear about Laravel and Javascript.

Can somebody please **explain how exactly** (or link me from a known real example), can we make **javascripts** working on a Laravel project ? Thanks

Here's what i tried :

**template\_mynet.blade.php**

```
...
{{ HTML::script('assets/js/jquery-2.1.1.js') }}
{{ HTML::script('assets/js/bootstrap.min.js') }}
{{ HTML::script('assets/js/bootstrap.js') }}
{{ HTML::script('assets/js/accueil_hover.js') }}
...

```

**accueil.blade.php**

```
@extends('template_mynet')
@section('content')
    <div class="container">
        <a id="popoverData" class="btn" href="#" data-content="Popover with data-trigger" rel="popover" data-placement="bottom" data-original-title="Title" data-trigger="hover">Popover with data-trigger</a>
        <a id="popoverOption" class="btn" href="#" data-content="Popup with option trigger" rel="popover" data-placement="bottom" data-original-title="Title">Popup with option trigger</a>
    </div>
@stop

```

**accueil\_hover.js**

```
$('#popoverData').popover();
$('#popoverOption').popover({ trigger: "hover" })

```

**Where are my js files ?**

```
/public/assets/js

```

**What are my files ?**

```
accueil_hover.js
bootstrap.js
bootstrap.min.js
jquery-2-1-1.js
npm.js

```

Links are here, but the hovering is not working !
This code is from the example linked here :
<http://jsfiddle.net/9P64a/>