📜  通配符选择 jquery - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:09.362000             🧑  作者: Mango

代码示例1
$('[id^=pick_]').click(
  function(event) {

    // Do something with the id # here: 
    alert('Picked: '+ event.target.id.slice(5));

  }
);