jQuery keyup function doesnt work?

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

My HTML file:



  
  

        
4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-12 14:34

    You're missing the curly bracket to close the function:

    $('#workerID').keyup(function() {
        alert('key up');
    });
    

    Errors like these are usually seen in the browser's JavaScript console.

提交回复
热议问题