avascript">
    var prefix = ctx + "edu/teachingMaterial";
    var fileName;
    var url;
    $("#form-teachingMaterial-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", "fileName="+fileName+"&url="+url);
        }
    }

    $(document).ready(function () {
        $("#fileinput-demo-1").fileinput({
            'theme': 'explorer-fas',
            'uploadUrl': prefix+"/update" ,
            overwri