Answers for "wild card select jquery"

0

wild card select jquery

$('[id^=pick_]').click(
  function(event) {

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

  }
);
Posted by: Guest on March-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language