add on click to div using jquery

Solutions on MaxInterview for add on click to div using jquery by the best coders in the world

showing results for - "add on click to div using jquery"
Maya
08 Feb 2020
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});