Changed show/hide into a toggle function. Added on clicks and functions for edit and delete functions.
Corrected id for delete link and  changed display to a toggleView.