?
Current Path : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/koaladraft/application/views/student/manage_parents.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <html class="no-js" lang="en"> <head> <?php $this->load->view('jsfiles'); $this->load->view('header'); $this->load->view('commonfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('student','viewinstudentsearch','search_parents','view_parents','1'); }); function suggest_student(div){ $(div).autocomplete("<?= site_url() ?>/master/autosuggeststudent/", { width: 250, selectFirst: false, onCallBack: function(id,index) { get_details_student(id,index); } }); } function get_details_student(student_id,divid) { var tr_index= $('#'+divid).closest('tr').index(); if(student_id!='') { alert("<?= site_url() ?>/student/load_student_details/"+student_id); $.ajax({ type: "POST", dataType:"json", url: "<?= site_url() ?>/student/load_student_details/"+student_id, success: function(msg) { $("#class_code"+tr_index).val(msg.class_code) $("#reg_no"+tr_index).val(msg.reg_no) $("#gender"+tr_index).val(msg.gender) $("#nationality"+tr_index).val(msg.nationality) }}); } } </script> </head> <body> <div id="height-wrapper"> <?php $this->load->view('menu'); ?> <div role="main" class="container_12" id="content-wrapper"> <div id="main_content"> <?php $this->load->view('top'); ?> <div id="inner_content"> </div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> </body> </html>