{{ form }} <script> $(function () { $('select[name="sub_language"]').on('change', function () { location.href += '&sub_language=' + this.value; }); }); </script>