2017-04-02 77 views

回答

1

无论load也不是上下文字符串实际创建HTML。它们是创建虚拟DOM的起点。

Refer to the Manipulation section in the documentation用于注入DOM的方法。即,提供了用于注射以下方法:

  • append
  • appendTo
  • prepend
  • prependTo
  • after
  • insertAfter
  • before
  • insertBefore
  • replaceWith
  • html
  • wrap