I make an Ajax call to get contact data. I had it working where I was getting 1 piece of data: email. The returning data would populate into an input: $('input[name="email"]').val(data);
I now need to get Email and Phone. I can successfully get the data returned, but I can't seem to populate the two separate input fields.
If I do that now, I get an object. I then tried this but it doesn't work either:
What am I missing here?