Click event triggering two times

前端 未结 5 664
终归单人心
终归单人心 2021-01-18 21:25


I am trying to run some function when clicking on the label text but the click event fired two times.
HTML

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 22:13

    
    

    you forgot to put for attribute in label (label_one). just change that. it will work

提交回复
热议问题