Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8456

Re: Cannot read property '0' of undefined

$
0
0

Hi Sandip,

 

This error beacuse the function is not visible in this context.

Good practice would be to have the event handler in controller.

 

Below example has both scenarios mentioned above

http://jsbin.com/uxokuc/237/edit

 

Thanks and Regards, Venkatesh


Viewing all articles
Browse latest Browse all 8456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>