Skip to content Skip to sidebar Skip to footer

Javascript - Cannot Read Property Of Undefined

Could someone explain to me why I get the 'Property of value is undefined error' please? My Javascript Skills are very limited. Trying to do Communication between two scripts. chro

Solution 1:

At this point in the code, "response" is undefined, so it has no property named "value" (from response.value). So you should probably check if response is undefined before printing it to the console.


Post a Comment for "Javascript - Cannot Read Property Of Undefined"