find an element where attribute == to something jquery code example
Example: get attribute value jquery
var some_var = $( some_jquery_selector ).attr( 'some_attribute_name' );
var some_var = $( some_jquery_selector ).attr( 'some_attribute_name' );