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

jQuery clone 后不添加到 DOM

  •  
  •   mutelog · Oct 30, 2018 via iPhone · 2225 views
    This topic created in 2797 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   ·   3037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:12 · PVG 12:12 · LAX 21:12 · JFK 00:12
    ♥ Do have faith in what you're doing.