Posted By

Zwendel on 12/23/09


Tagged

jquery match id


Versions (?)

Get a unique ID number from an element ID


 / Published in: jQuery
 

  1. var num = $(this).attr('id').match(/\d+/g);

Report this snippet  

You need to login to post a comment.