knockout.js How to access $index in handler function
Asked 2012-10-24T17:50:31.787
20
As I understand, $index is available inside a foreach: binding, giving the index of the object... I have a click: binding e.g. click:foo , I need to to access $index inside foo.