Posts by Bruna Mello • 41 points
2 posts
-
-1
votes1
answer54
viewsQ: How do I make the checkbox have the value of the database id corresponding to the record that was marked?
< script > function verificaChecks() {} var aChk = document.getElementsByName("verifica"); for (var i = 0; i < aChk.length; i++) { if (aChk[i].checked == true) { if (aChk[i].value ==…
phpasked Bruna Mello 41 -
4
votes1
answer56
viewsQ: How do I take the position of a marker on a map and adc in a text field automatically each time I place this marker?
function onMapClick(e) { popup .setLatLng(e.latlng) .setContent("You clicked the map at " + e.latlng.toString()) .openOn(macarte); var marker= L.marker(e.latlng).addTo(macarte) }…