$.ajax({ url : $("#add-new-department").attr("action"), type : "POST", data: "departmentname="+departmentname, success : function(response) { $('#status').html(response); $('#departmentname').val(''); $('#department').html('Department Updated: ' + new Date()); }});


