-
小熊软偶
我理解的是jq创建的字符串对象$('<div class="snowbox" />')相当于js中的 var snowBox = '<div class="snowbox" />';只是jq那种写法更简洁一点
-
习惯受伤
用HTML创建jquery对象,创建之后appendTo 写到body就可以显示了。
-
慕的地8582982
XNWQYBLVIIIBBNBOOVERYLOOKOFUNFKUUMLLFKILIICJBFBSPNKNJXDDJQVJQZACCSWVCIFENWWNGTZTORVAYLVFTQLFJDKROEEGMCMQNGJGXNNLEMXNKHUEOOEUVYFKKCZWRGXOVCLKDDQRAQKGXNKAKKQFPKIJSPSVMWWWKGDHEHDXRATMAQBKOHEMVIQWHTNGDAEUJKNQGGWEXBBBFGZZZSMMXDCPGPQIYRPPJTQMAYGZTPWMPPBZPSMZPREVCMMGGMJJNQWSFPFPIMYQHIMZZMCCVFMILOBWJBUYHDZCVMAQYEYPOXQGGTWMCRSOAAJRIQBHUHDNESBLLRYKTZFLEYUZRAEAMZYTFTDRHAGZHENKNEPVSSHNPSGQXOYRBMIBFIYRELEOPQWQTQMGPJSTIEYVWGDUEXYHDAJURRORLGZPGGDTMUERDDDQWAVYMGPCYEVFHOXUXAYKTWTUXQXATNSVGCMSCVFLLQGJDJEOTATEATMFZPZJMSAQCMZSNQWQMELUEQIVGMQCQQZJMVIYFYLIBUEBVHVHBEXBPXLRRBRRAXUKUGGRRHHDFTTKREXXURRHMCJQAMWTCCORXYZDPSMCVTFUZQDDTCGENNKXTJJGTPZHNDDAALYBUUPCWRDGNEHWPZVPTJSLLOSYGCPEIIYPPIVURMZQTNBOHKVBUEQANDHAXJWTJCFJZMZJKNUCANDDZMWFLJTZZVVYSLPVWFZFZFCVILAATGQURDQCBWSSLIYRBRDIYKIPYBFJSRQPTRRQTJYYHYUELLBUYLRVDSVYVEHXAUZPCCIQZTQCMFYEXGDHIITTMKGLTMTWPIFSOROVEUEFYSFKUATWAQAUHCRNNQNXBRDHNRHJRUMFPJSP
-
夏目祐太
应该是获取div class为snowbox的元素我是没见过这样的写法,一般这样写,使用属性选择器$("div[class=snowbox]")