Vital Statistics CountiesEdit.js - jcobban/Genealogy GitHub Wiki
Up: Vital Statistics Implementation
This script implements the dynamic functionality of the page
CountiesEdit.php
.
- function onLoad() Initialize the dynamic functionality once the page is loaded
- function changeCode] Take action when the user changes the county code.
- function deleteCounty() When a Delete button is clicked this function hides the row from the table and sets up indicators that cause the associated record to be deleted from the database when the user requests update.
- function showTownships() When a Townships button is clicked this function displays the edit dialog for the list of townships in a county.
- function editLocation() When a Location button is clicked this function displays the edit dialog for the Location record associated with the county. This always succeeds even if the record does not exist yet.
- function addCounty() When the Add county button is clicked this function adds a row into the table.
Next: CountiesEdit.php