$.ajax({
url: "/base_data",
type: 'get',
dataType: 'json',
async: false,
success: function(response) {
$(response).each(function(index, value) {
popup = L.marker([value.latitude, value.longitude]).addTo(map);
popup.on("click", function() {
var con = getMembers(value.id);
// alert("CLicked"+value.id);
// console.log(con);
this.bindPopup(con).openPopup();
});
});
},
error: function() {
}
});
Monday 17 October 2016
jquery - The Issue is the click is working for the first time but not after that
Subscribe to:
Post Comments (Atom)
c++ - Does curly brackets matter for empty constructor?
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
-
A fair amount of the second act of The Dark Knight Rises has a class warfare plotline. This is foreshadowed in the trailers with Selina Ky...
-
i have added this sql in my code , function devenir_client_dataforform() { $type = $_POST['clientType']; //$produit...
-
I'm still trying to wrap my head around how the following expression results in undefined behavior: a = a++; Upon searching SO...
No comments:
Post a Comment