jQuery keyup function doesnt work?

后端 未结 4 1009
陌清茗
陌清茗 2021-01-12 13:51

My HTML file:



  
  

        
4条回答
  •  执念已碎
    2021-01-12 14:16

    in HTML

    inser id, name,vale in " "

    Worker-ID:

    Password:

    in js

    $('#workerID').keyup(function() {
           alert('key up');} // here you forget "}"
          );
    

    demo

提交回复
热议问题