I want to pass the value of an input field from the view to the controller. What's the best way to achieve this without binding the input field to a property of the model? Example:
view:
<form data-event-submit="searchHero">
<input type="text" placeholder="Name..." data-bind="myquery"/>
</form>
controller:
searchHero: ->
console.log myquery