Hi,
I am using javascript library to fetch the contact data

To get the address field I am trying to use the code below, but it
does not return a data


        var Addresses = contactEntry.getPostalAddresses();
    for (var j = 0; j < Addresses.length; j++) {
          document.getElementById('add'+j).value+=Addresses[j].getValue();
}

While this works fine

        var emailAddresses = contactEntry.getEmailAddresses();
    for (var j = 0; j < emailAddresses.length; j++) {
          document.getElementById('email'+j).value
+=emailAddresses[j].getAddress();
    }

Does anybody has an idea?

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to