how to get javaScript event source element?

后端 未结 6 636
夕颜
夕颜 2020-12-23 16:20

Is there a way to retrieve the element source of an inline javaScript call?

I have a button like this:

6条回答
  •  [愿得一人]
    2020-12-23 17:13

    You can pass this when you call the function

    
    
    
    

提交回复
热议问题