I am trying to get the on click event when a marker is clicked, but its not working at all. Here is my code
var list = ...list of codes...;cartodb.createLayer(_this.mapData.map, { user_name: 'myusername', type: 'cartodb', sublayers: [ { sql: "SELECT * FROM...