jquery [object Object] 解决方法
The reason you see [object Object] is because msg is of type object and you pass it into .html which will convert it to a string. And thus the html is filled with the string representation of object which in this case is "[object Object]"
具体的解决方法是 var x=$("#xxx").hide();


浙公网安备 33010602011771号