开发者社区 问答 正文

jquery hide() 无效?

if(typeof item != "undefined"){
    $("#"+item).focus();
    $("#"+item).next("span").html(info).show("fast");
    $("span.spspan").html("adfasdf").hide();
}

为啥最后的hide()不管用了,html赋值已经完成了...

展开
收起
a123456678 2016-07-05 10:07:25 2701 分享 版权
1 条回答
写回答
取消 提交回答
  • html()方法返回的不是jQuery对象

    2019-07-17 19:51:12
    赞同 展开评论
问答分类:
问答标签:
问答地址: