0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.144.15.34


Current Path : /var/www/html/tadabills/
Upload File :
Current File : /var/www/html/tadabills/barcode_test.php

<html>
<head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

<script type="text/javascript">
    $(function () {
        $('#datepicker').datepicker({ dateFormat: 'dd/mm/yy' });
    });
</script>

<!--<script>
    $( function() 
    {
      $( "#datepicker" ).datepicker();

    } );
</script>!-->

<script>
    function saveDeatils()
    {
        var regno = $("#regno").val();
        var qpcode = $("#qpcode").val();
        var ansbook=$("#ansbook").val();
        
        $.ajax({
          type: "POST",
          async: false,
          data: "regno="+regno+"&qpcode="+qpcode+"&ansbook="+ansbook+"scr=savebarcode",
          url: "save_barcode.php",
          success: function(responce)
          {
            $("#tabledata").html(responce);
          }
        });
    }

</script>
</head>

<body>
<div align="center" font-size:10px>
  
  <table>
    <tr>
      <td>
        Reg. No.
      </td>
      <td>
        <input type = 'text' id = 'regno'>
      </td>
    </tr>
    <tr>
      <td>
        QP Code
      </td>
      <td>
        <input type = 'text' id = 'qpcode'>
      </td>
    </tr>
    <tr>
      <td>
        Ans Book Code
      </td>
      <td>
        <input type = 'text' id = 'ansbook'>
      </td>
    </tr>
    <tr>
      <td>
        
      </td>
      <td>
        <button onclick = "saveDeatils()">Submit</button>
      </td>
    </tr>
  </table>
</div>

<br><br>

<div id="tabledata">
</div>

<?php
  error_reporting(E_ALL);
  ini_set('display_errors', 'on');
?>

</body>
</html>