read attribute value from element jquer code example
Example 1: javascript element read attribute
document.getElementById('id1').getAttribute('attribute');
Example 2: jquery parsexml get attribute
var pic = $entry.find('media\\:thumbnail').attr('url');