Copy DOM element with its events in variable (jQuery)

前端 未结 0 1936
时光取名叫无心
时光取名叫无心 2021-02-15 02:39

I wanted to copy DOM element in variable, so I did this:

var before=$(\"#someid\").html();

Then my script does a bunch of stuff in t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题