find the last form element 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')
var myVal = $('.someclass option:last').val();
$('#test div.a:last')