javascript - error cannot read property count of undeifned -
i have odata controller sending me count of total entities trying read in javascript i.e. angular app. odata.count property visible proper value keep on getting error. please refer attached image.

when try read
countresponse.odata.count i error cannot read property count of undefined.
please guide
the reason have property name dot. code trying access object on countresponse called odata , odata's count.
either change whatever code sets property not use periods or change syntax countresponse["odata.count"].
Comments
Post a Comment