Django and javascript issue
===

I want to inject a variable into url like in the code. But It gives an error.

       function initializeDataTable(id){
   	        var columnSize = $('table th').size();
        $('#table').dataTable({
            "sDom" : 'rtFip>',
            'fnDrawCallback' : function() {
                $('input:checkbox, input:radio').checkbox();
            },
            "bStateSave": true,
            'sPaginationType' : 'full_numbers',
            "bServerSide" : true,
            "sAjaxSource" : "{% url 'get_menu_list' '" + id + "' %}"
       });
      };

I want to get the selected option and in the option change event, I will call the function above. How can I do that?