In jQuery, is there any difference between this:
$(\'\').appendTo(\'body\'); And this: $(\'\').appe
And this:
$(\'\').appe
That syntax will not cause problems as long as nothing comes after it.
$("") // Ok! $("foobar") // Not Ok! $("") // Not Ok! For reference, see http://api.jquery.com/jQuery/#jQuery2 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
") // Not Ok!
For reference, see http://api.jquery.com/jQuery/#jQuery2