$("#PHOTO img").attr('src', 'data:'+mime+';base64,'+binval);
}
$(e).find('TEL:has(HOME)').each(function() {
+ $('#TELHOME').append(' ');
$('#TELHOME').append(Strophe.xmlTextNode($(this).find('NUMBER').text()));
});
$(e).find('TEL:has(WORK)').each(function() {
+ $('#TELWORK').append(' ');
$('#TELWORK').append(Strophe.xmlTextNode($(this).find('NUMBER').text()));
});
$(e).find('EMAIL:has(HOME)').each(function() {
+ $('#EMAILHOME').append(' ');
$('#EMAILHOME').append(Strophe.xmlTextNode($(this).find('USERID').text()));
});
$(e).find('EMAIL:has(WORK)').each(function() {
+ $('#EMAILWORK').append(' ');
$('#EMAILWORK').append(Strophe.xmlTextNode($(this).find('USERID').text()));
});