function change_title(title, button_id) {
    return function () {
    $('#dashboard').find('h3').text(title);
    $('#run_report').html("<button class= 'btn-save' id = '" + button_id + "' >Run Report</button>");
    $("#minutes, #time, #result").html('');
    }
}
//Set the title and change button id
Set the title and change button id
Set the title and change button id
function change_title(title, button_id) {
    return function () {
    $('#dashboard').find('h3').text(title);
    $('#run_report').html("<button class= 'btn-save' id = '" + button_id + "' >Run Report</button>");
    $("#minutes, #time, #result").html('');
    }
}
function change_title ( title , button_id ) { return function ( ) { $ ( '#dashboard' ) . find ( 'h3' ) . text ( title ) ; $ ( '#run_report' ) . html ( "<button class= 'btn-save' id = '" + button_id + "' >Run Report</button>" ) ; $ ( "#minutes, #time, #result" ) . html ( '' ) ; } }
Set the title and change button id
Set the title and change button id