in php I return to javascript the following: in my js file I have: this writes out to the console: how do I access the value ‘FOUND’ associated with the key ’email’? I’ve tried response[’email’], response.email and response[0][’email’] Answer The title is very misleading because the problem is completely unrelated to promises. The backend doesn’t provide pure JSON but HTML
Tag: promise
Promises in array forEach loop
I have an array like this: var ids = [8372839402, 8392615782, 3677281302]; Inserted are id values. Based on this ids I have to get for each one some information from the database. Basicly I get data …