forked from Shubham8287/notice
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathelements.js
More file actions
executable file
·57 lines (52 loc) · 1.7 KB
/
Copy pathelements.js
File metadata and controls
executable file
·57 lines (52 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$(function(){
$(".deletealert").hide();
$(".Notification").hide();
$(".Leave").hide();
$(".alertNotification").hide();
$(".deletenotification").hide();
$(".DeleteLeave").hide();
$(".Image").hide();
$(".deleteimage").hide();
$('#purpose').on('change', function() {
if ( this.value == '4')
{ $(".deleteimage").hide();
$(".Notification").show();
$(".Leave").hide();
$(".alertNotification").hide();
$(".deletealert").hide();
$(".deletenotification").show();
$(".DeleteLeave").hide();
$(".Image").hide();
}
else if ( this.value == '2')
{ $(".deleteimage").hide();
$(".Leave").show();
$(".Notification").hide();
$(".alertNotification").hide();
$(".deletealert").hide();
$(".deletenotification").hide();
$(".DeleteLeave").show();
$(".Image").hide();
}else
if(this.value == '3')
{ $(".Image").hide();
$(".Leave").hide();
$(".Notification").hide();
$(".alertNotification").show();
$(".deletealert").show();
$(".deletenotification").hide();
$(".DeleteLeave").hide();
$(".deleteimage").hide();}
else
if(this.value=='1')
{ $(".deleteimage").show();
$(".Image").show();
$(".Leave").hide();
$(".Notification").hide();
$(".alertNotification").hide();
$(".deletealert").hide();
$(".deletenotification").hide();
$(".DeleteLeave").hide();
}
});
});