jQuery onClick capture the id of the element

后端 未结 6 1063
借酒劲吻你
借酒劲吻你 2020-12-29 20:26

i have many input fields like this

 

when i click this rad

6条回答
  •  既然无缘
    2020-12-29 21:06

    Another option is with JQ

    $("#name").on('onchange',enableText);
    

    With this your object will be the current this

提交回复
热议问题