最赞回答 / 妹妹大胆往前走
自答了:#divtest .content .tip{ border: solid 1px #ccc; background-color: #eee; margin: 10px 0px; padding: 8px; display: none;}display设置为none,默认是不显示的,所以要显示strTmp,必须先$('tip').show(),让其显示。然后再赋值.html(strTmp)
2016-06-15
最赞回答 / Sunnylincon
$.isPlainObject()是指调用jquery中的工具函数,即jquery.isPlainObject而$.isPlainObject是指这个函数本身,当然会为真了举个知乎里的例子function fun(){ return 5}var a=funvar b=fun()a是fun函数,而b是5
2016-06-14
最新回答 / 小杰哥灬
toggle 本身就集成了 hide 和show,加hide和show画蛇添足了,记得加分号。 $(function () { $("#btntest").bind("click", function () { $("div").toggle(); });
2016-06-14
最新回答 / 慕莱坞5242466
哈哈,我找到解决方法了,我的也是新版本的sdk,后来想想干嘛非要在MAINFEST中添加,直接在mainativity中添加就行啦spd10000hkpxwhflnbccghifwiajemjvfpiazwtekhhdhvk
2016-06-12