1$(document).ready( function() {
2
3 $("#viewclick").click( function() {
4 // this will fire when you click view
5 });
6 $("#editclick").click( function() {
7 // this will fire when you click edit
8 // hide the view button here and upon submit, show it again
9 // like $("#viewclick").hide() or $("#viewclick").fadeOut()
10 });
11
12});