;     $.ajax({         type: 'POST',         dataType:"json",         url: '<?php echo base_url('SchoolAdmin/inserthall'); ?>',         data: { regno: regno },         success: function (result) {             console.log(result);         }    