Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ID を持つオブジェクトがあり、jquery を使用して"4x153x9x10x173"整数を変数に解析する必要がありますか?"153"
"4x153x9x10x173"
"153"
objects.last().attr('id') // id = 4x153x9x10x173
var desired = objects.last().attr('id').split('x')[1];
jsFiddle デモ