How to handle a click event for a Knockout template's element with the «click» binding?

Example 1: the simpliest case


Example 2: calling the parent view’s method with parameters


http://knockoutjs.com/documentation/click-binding.html