Return to Snippet

Revision: 52319
at October 19, 2011 23:22 by timarney


Initial Code
var num = $(this).attr('id').match(/(\d+)/)[1]

Initial URL
http://stackoverflow.com/questions/5940141/get-numeric-part-of-id

Initial Description

                                

Initial Title
get numeric part of ID

Initial Tags
javascript

Initial Language
jQuery