You declare intentions in the View by using directives.

 

Note: best not to use jQuery