javascript - Backbone click event doesnt trigger -


I was facing a very strange problem. In my HBS code, I have the next part of the code

   

And my backbone code is as follows

  Define (['Marienet', 'clickthist'], function (Merineet, template) {return bayon Marionette .ememview.extend ({Template: Template: templateHelper: {}, Event: {'click .link': 'onClickLink'}, onClickLink: function {event} {event.preventDefault (); Alert ("Hi"); But, on the click, I can not see any warning. 

I am quite new to the spinal cord. Please tell where I go wrong I huh?


Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -