how to get attr of class jquery code example
Example 1: get attribute value jquery
var some_var = $( some_jquery_selector ).attr( 'some_attribute_name' );
Example 2: jquery set att
$input.attr("attributeName", "attributeValue");
var some_var = $( some_jquery_selector ).attr( 'some_attribute_name' );
$input.attr("attributeName", "attributeValue");