I have an object with id "4x153x9x10x173" and I need to "4x153x9x10x173" integer "153" from it in a variable using jquery?
"4x153x9x10x173"
"153"
objects.last().attr('id') // id = 4x153x9x10x173
var desired = objects.last().attr('id').split('x')[1];
jsFiddle demo
Source: https://habr.com/ru/post/915576/More articles:Use compound primary key as foreign key - sqlIt seems that the false error "accepts no arguments" with the constructor of the case class - scalahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/915573/using-fseekfwrite-from-multiple-processes-to-write-to-different-areas-of-a-file&usg=ALkJrhh3z_HlnC3etJlkmq6iWvj-uYQ3sACalling an object of class System.Delegate in C # - c #Sequence analysis analysis, how would you calculate the funnel? - javaHaskell framework for parallelizing non-threaded C ++ lib - concurrencyClearing ReSharper code - c #How to resume an action when called from an intent - androidlink directly to the review page on the App Store by name, not ID - iosIncrease property tree value when converting to Unicode - c ++All Articles