This click event is not working -
Template.images.events({
'click .js-image':function() {
console.log("hello");
}
});
This click event is not working -
Template.images.events({
'click .js-image':function() {
console.log("hello");
}
});
You need to give us more info before we are able to help you. Please provide:
Try like this syntax, copy and paste from my code
Template.game.events({
'click .ui_button_toggle_hud'(event){
...........
That syntax is equivalent to the first one. Therefore it should make no difference.
As Cloudspider properly stated, we cannot help much without more information.