title: import js in html.twig symfony2
body: <p>I try to import the JS file into my html.twig file. But it doesn't work. Could you give me some suggestions?</p>
  
  <p>this is my layout file</p>
  
  <pre><code>&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
  {%block stylesheets %}
  
    &lt;link rel="stylesheet" href="{{ asset('bundles/ensjobologic/css/bootstrap.css') }}" type="text/css" media="all" /&gt;
    &lt;link rel="stylesheet" href="{{ asset('bundles/ensjobologic/css/layout.css') }}" type="text/css" media="all" /&gt;
  
    &lt;link href="asset('bundles/ensjobologic/css/bootstrap-responsive.css" rel="stylesheet"&gt;
  
    &lt;link rel="stylesheet" href="{{ asset('bundles/ensjobologic/css/flat-ui.css') }}" type="text/css" media="all" /&gt;
  
    {% endblock %}
    {% block javascripts %}
    {% endblock %}
  &lt;/head&gt;
  </code></pre>
  
  <p>this is the child file:</p>
  
  <pre><code>{% block javascripts %}
      {{ parent() }}
      {% javascripts 'js/jquery.tagsinput.js' %}
        &lt;script src="{{ asset_url }}" type="text/javascript"&gt;&lt;/script&gt;
      {% endjavascripts %}
  {% endblock %}
  </code></pre>
  
  <p>the css work well. But the js file don't have any effect.</p>