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();

posted @ 2012-05-07 08:26  杨伟明  阅读(2168)  评论(0)    收藏  举报