Copy DOM element with its events in variable (jQuery)

前端 未结 0 1933
花落未央
花落未央 2021-02-15 02:15

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

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