title: Knockout.js click binding with parameters
body: <p>I have this little ViewModel:</p>
  
  <pre><code>function BooksViewModel() {
      var self = this;
      self.books = ko.observableArray(library);
  
      self.findByLanguage = function(lang) {
          self.books = ko.computed(function() {
              return ko.utils.arrayFilter(library, function(book) { 
                  return book.language() === lang; 
              });
          });
      };
  }
  </code></pre>
  
  <p>The findByLanguage method filters the array by language. In the view, im tryign to implement that like this:</p>
  
  <pre><code>&lt;ul class="dropdown-menu"&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#" data-bind="click: findByLanguage('C')"&gt;C&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a tabindex="-1" href="#" data-bind="click: findByLanguage('Cpp')"&gt;C++&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I'm attemping to reuse the function by calling the language parameter from there. But if I pass a function with parenthesis on data-bind it automatically gets called.</p>
  
  <p>How can I accomplish this?</p>