Open TonyGoodDay2 opened 7 years ago
d3.selectAll('input[name="DREAMSCheckbox"]').on("change", function(d, i) { removeMap(); changeIndValue("min", 0); changeIndValue("max", 0); drawMap(geoDataFile); });
d3.selectAll('input[id="maxIndValue"]').on("focusout", function(d, i) {
var maxValue = parseInt(d3.select('input[id="maxIndValue"]').property("value"));
var minValue = parseInt(d3.select('input[id="minIndValue"]').property("value"));
if (minValue > maxValue) {
changeIndValue("max", minValue + 1);
}
d3.selectAll('#BtnZoomIn').on("click", function(d, i) { console.log("Zoom In Button Clicked."); zoomClick(1); });
d3.selectAll('#BtnZoomOut').on("click", function(d, i) {
console.log("Zoom Out Button Clicked.");
zoomClick(-1);
});
d3.selectAll('#BtnZoomReset').on("click", function(d, i) {
console.log("Zoom Out Button Clicked.");
resetZoom();
});
What is the documented definition of the "change" event?
onchange The event occurs when the content of a form element, the selection, or the checked state have changed (for ,
Execute a JavaScript when a user changes the selected option of a
The onchange event occurs when the value of an element has been changed.
For radiobuttons and checkboxes, the onchange event occurs when the checked state has been changed.
Execute a JavaScript when a user changes the selected option of a
https://developer.mozilla.org/en-US/docs/Web/Events
The change event is fired for input>, select>, and textarea> elements when a change to the element's value is committed by the user.
Please provide a list of DOM Mouse Events