help desk create view

This commit is contained in:
merdan 2020-05-01 17:28:33 +05:00
parent 98e0b33677
commit acd912a4f6
1 changed files with 3 additions and 1 deletions

View File

@ -52,8 +52,10 @@
@section('after_scripts')
<script>
$('select[name="topic"]').on('change', function() {
if(this.val() == 0)
if(this.value == 0)
{
alert(this.val())
$('input[name="subject"]').parent().removeClass('d-none');
$('input[name="subject"]').val('');
}else{