The error mistake is "Cannot read property '0' of undefined", but I can't found any value related to '0' (in my code, line 32), the error caused by accessing an missing valuable in my case (I highlighted by red:)
$("#"+plant.size[i].id+" .title").text(plant.size[i].title)
After I added the value for the "size":
The problem was fixed:
=======================================
This error message can remind you there is some problem in the line,
In my case is related to an accessible value,
If you got this error, please double check is there any missing value or undefined value in your line.
CHECK YOUR VALUE
No comments :
Post a Comment