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

jQuery clone 后不添加到 DOM

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