function subject_division_cutoff_grade(marks_range, studentid) {


        if (marks_range != '') {
            var incre_class = $(this).attr('id');
            var formData = new FormData();
            formData.append('token', token);
            formData.append('marks_range', marks_range);
            formData.append('branch_id', branchID);
            $.ajax({
                url: getMarks_vs_grade,
                method: "post",
                data: formData,
                processData: false,
                dataType: 'json',
                contentType: false,
                success: function (res) {
                    if (res.code == 200) {   
                        $(".lbl_grade" + studentid).text(res.data[0].grade);
                        $('.lbl_grade' + studentid).val(res.data[0].grade);
                    }
                    else {
                        $(".lbl_grade" + studentid).text("");
                        $('.lbl_grade' + studentid).val("");
                    }
                }
            });

        }

    }
//subject division base grade details bind
subject division base grade details bind
subject division base grade details bind
function subject_division_cutoff_grade(marks_range, studentid) {
        if (marks_range != '') {
            var incre_class = $(this).attr('id');
            var formData = new FormData();
            formData.append('token', token);
            formData.append('marks_range', marks_range);
            formData.append('branch_id', branchID);
            $.ajax({
                url: getMarks_vs_grade,
                method: "post",
                data: formData,
                processData: false,
                dataType: 'json',
                contentType: false,
                success: function (res) {
                    if (res.code == 200) {   
                        $(".lbl_grade" + studentid).text(res.data[0].grade);
                        $('.lbl_grade' + studentid).val(res.data[0].grade);
                    }
                    else {
                        $(".lbl_grade" + studentid).text("");
                        $('.lbl_grade' + studentid).val("");
                    }
                }
            });
        }
    }
function subject_division_cutoff_grade ( marks_range , studentid ) { if ( marks_range != '' ) { var incre_class = $ ( this ) . attr ( 'id' ) ; var formData = new FormData ( ) ; formData . append ( 'token' , token ) ; formData . append ( 'marks_range' , marks_range ) ; formData . append ( 'branch_id' , branchID ) ; $ . ajax ( { url : getMarks_vs_grade , method : "post" , data : formData , processData : false , dataType : 'json' , contentType : false , success : function ( res ) { if ( res . code == 200 ) { $ ( ".lbl_grade" + studentid ) . text ( res . data [ 0 ] . grade ) ; $ ( '.lbl_grade' + studentid ) . val ( res . data [ 0 ] . grade ) ; } else { $ ( ".lbl_grade" + studentid ) . text ( "" ) ; $ ( '.lbl_grade' + studentid ) . val ( "" ) ; } } } ) ; } }
subject division base grade details bind
subject division base grade details bind