Hello
if Your Return Str is not empty and it may return value
than simply USed in Your Success block
if (data.status == "sucess") {
$("#department").html(data.department);
}
first you check what it will return using alert
alert(data.department);
I hope Your Problem Will Solve If not Please give me your Review.