// 局部刷新 要刷新的id
// location.href + " #messagelist" --- > "空格#messagelist"
$("#messagelist").load(location.href + " #messagelist");
原文链接:https://www.cnblogs.com/zpblogs/p/10815147.html
https://blog.csdn.net/yijiupingfan0914/article/details/81239056