keydown event in drop down list

前端 未结 12 1597
日久生厌
日久生厌 2020-12-07 00:24

I am trying to create a Drop down list, that when a user holds the SHIFT key, it will select the same index on all other drop down lists.

Currently, I am doing the f

12条回答
  •  暖寄归人
    2020-12-07 01:09

    Your syntax looks incorrect.

    $("#target").keydown(function() {
        alert( "Handler for .keydown() called." );
    });
    

提交回复
热议问题