In my web app I want checkbox to control display or not table column. I had put jquery-2.1.1.js file in ROOT_OF_WEBAPP/WEB/JS/. I need code for show()/hide() column and how include that .js file in current twig. This don't work:
<script type="text/javascript">
$(document).ready(function() {
$("jmbg_ch").click(function(event) {
if ($(this).is(":checked"))
$(".jmbg_column").show();
else
$(".jmbg_column").hide();
});
});
</script>