$("#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()));
});
<li id="BDAY"><span class="vCardName">Birthday: </span></li>
<li id="TELHOME"><span class="vCardName">Telephone (Home): </span></li>
<li id="TELWORK"><span class="vCardName">Telephone (Work): </span></li>
- <li id="EMAILHOME"><span class="vCardName">E-Mail (Home): </span></li>
- <li id="EMAILWORK"><span class="vCardName">E-Mail (Work): </span></li>
+ <li id="EMAILHOME"><span class="vCardName">E-Mail (Home):</span></li>
+ <li id="EMAILWORK"><span class="vCardName">E-Mail (Work):</span></li>
<li id="CTRY"><span class="vCardName">Country: </span></li>
<li id="USERID"><span class="vCardName">E-Mail: </span></li>
</ul>