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

jQuery clone 后不添加到 DOM

  •  
  •   mutelog · Oct 30, 2018 via iPhone · 2363 views
    This topic created in 2880 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   ·   Privacy   ·   Solana   ·   5374 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 09:10 · PVG 17:10 · LAX 02:10 · JFK 05:10
    ♥ Do have faith in what you're doing.