get the last of classes using jquery code example
Example 1: get the last option from select jquery
var myVal = $('.someclass option:last').val();
Example 2: find last element with class jquery
$('#test div.a:last')
Example 3: jquery get last element with two class name
$('div#a.b.c')