<html>
<head>
    <title>GET DATA with AJAX</title>
    
    <script>
      var baseurl = "<?php echo base_url("index.php/"); ?>"; // Buat variabel baseurl
    </script>
    <script src="<?php echo base_url("js/jquery.min.js"); ?>"></script> <!-- Load library jquery -->
    <script src="<?php echo base_url("js/config.js"); ?>"></script> <!-- Load file process.js -->
</head>
<body>
<h1>FORM SISWA</h1><hr>
<form>
<table>
  <tr>
    <td>No. Pend</td>
    <td>:</td>
    <td><input type="text" name="no_pendaftaran" id="no_pendaftaran"> <button type="button" id="btn-search">Cari</button> <span id="loading">LOADING...</span></td>
  </tr>
  
  <tr>
    <td>Nama</td>
    <td>:</td>
    <td><input type="text" name="nama_lengkap" id="nama_lengkap" disabled=""></td>
  </tr>
  <tr>
    <td>Sekolah asal</td>
    <td>:</td>
    <td><input type="text" name="sekolah_asal" id="sekolah_asal"></td>
  </tr>
  <tr>
    <td>Kompetensi</td>
    <td>:</td>
    <td><input type="text" name="kd_kompetensi" id="kd_kompetensi"></td>
  </tr>  

</table>
</form>
</body>
</html>
