var map = L.map(\'map\'); var marker = L.marker([10.496093,-66.881935]).on(\'click\', onClick); function onClick(e) {alert(e.latlng);} marker.addTo(map)
I found the solution:
function onClick(e) {alert(this.getLatLng());}
used the method getLatLng() of the marker