• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mutelog
V2EX  ›  程序员

jQuery clone 后不添加到 DOM

  •  
  •   mutelog · Oct 30, 2018 via iPhone · 2490 views
    This topic created in 2938 days ago, the information mentioned may be changed or developed.
    如题,在一个函数中使用 jQuery clone 后得到的对象如果不添加到 DOM 里,这个对象会被默默地丢弃吗?
    2 replies  •  2018-10-30 20:16:54 +08:00
    markgor
    markgor
    Oct 30, 2018
    1
    不会被摸摸地丢弃
    greatbody
    greatbody
    Oct 30, 2018
    2
    话说不考虑下 react 么
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2136 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:52 · PVG 21:52 · LAX 05:52 · JFK 08:52
    ♥ Do have faith in what you're doing.