//Create Decision Table //This function displays the correct decision table depeding on the current treatment function createDecisionTable(){ var treatment = document.getElementById("id_treatment").name; console.log(treatment); console.log(document.title); var makeTableSortable = true; $('#decision_table_placeholder').html(document.getElementById('id_decision_table').name); // if(makeTableSortable){ // onLoadTableSort(); // } capacity = parseFloat(document.getElementById("id_capacity").name); }