-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexam.php
32 lines (31 loc) · 1.12 KB
/
exam.php
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
<div class="row justify-content-center">
<div class="card z-depth-2 " style="width:500px;padding:10px">
<div id="formContent">
<p class="flow-text center" id="changeTableDay">Examination</p>
<div class="row">
<div class="input-field col-md-7">
<input type="number" class="numberDays">
<label style="margin-left:19px;pointer-events:none;">Enter Number Of Days</label>
</div>
<span class="btnGo disabled btn green lighten-2 waves-green waves-effect white-text">go
</span>
</div>
<div class="row">
</div>
<div class="center">
<span class="disabled btn green lighten-2 waves-green waves-effect white-text">Set now
</span>
</div>
</div>
</div>
</div>
<script>
$('.numberDays').on('change', function() {
$i = $(this).val();
if($i >= 1){
$('.btnGo').removeClass('disabled');
}else{
$('.btnGo').addClass('disabled');
}
});
</script>