jquery get number from id

Posted by john morris on Stack Overflow See other posts from Stack Overflow or by john morris
Published on 2010-03-11T19:03:57Z Indexed on 2010/03/11 19:09 UTC
Read the original article Hit count: 154

Filed under:
|
|

how can i get the number from a div tag's id?

example:

<div id="button1"></div>

how can i get the 1 and store it in a variable?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about get