help desk create view

This commit is contained in:
merdan 2020-05-04 17:20:54 +05:00
parent 4fd0cf45bf
commit cbb4b3c744
1 changed files with 2 additions and 2 deletions

View File

@ -63,9 +63,9 @@
@endsection @endsection
@section('after_scripts') @section('after_scripts')
<script> <script>
$('select.topic').on('change', function() { $('select[name=topic]').on('change', function() {
// alert(this.options[this.selectedIndex].text); // alert(this.options[this.selectedIndex].text);
let subject = $('input.subject'); let subject = $('input[name=subject]');
if(this.options[this.selectedIndex].value == 0) if(this.options[this.selectedIndex].value == 0)
{ {