help desk create view

This commit is contained in:
merdan 2020-05-04 16:59:04 +05:00
parent 05a5400ccb
commit 4a7d4d8df2
1 changed files with 2 additions and 1 deletions

View File

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