Category : jquery

$sql = "SELECT xin_employees.employee_id, xin_employees.first_name,xin_employees.last_name, xin_employees.date_of_joining,xin_companies.name, xin_departments.department_name from xin_employees JOIN xin_departments on xin_employees.department_id=xin_departments.department_id JOIN xin_companies on xin_employees.company_id=xin_companies.company_id ORDER BY xin_companies.name DESC,xin_departments.department_name DESC"; $query = $this->db->query($sql); return $query; 025055 lal mm VOYAGER IT SOLUTIONS ADMINISTRATION 2021-04-01 032334 Anulaya K VOYAGER IT SOLUTIONS MANAGEMENT 2018-07-10 047355 Ani sjkhk VOYAGER IT SOLUTIONS MANAGEMENT 2021-10-26 055472 rht rr newcompany ..

Read more

I have the following calendar using jQuery fullcalendar $(document).ready(function() { $(‘#calendar’).fullCalendar({ defaultDate: ‘2021-12-02’, eventLimit: true, // allow “more” link when too many events events: [{ title: ‘All Day Event’, start: ‘2021-12-02’ }, { title: ‘Long Event’, start: ‘2021-12-02’, end: ‘2021-12-4’ }, { title: ‘Click for Google’, url: ‘https://google.com/’, start: ‘2021-12-24’ } ] }); }); <script ..

Read more

//Check boxes Function $(function() { //If check_all checked then check all table rows $("#check_all").on("click", function () { if ($("input:checkbox").prop("checked")) { $("input:checkbox[name=’row-check’]").prop("checked", true); } else { $("input:checkbox[name=’row-check’]").prop("checked", false); } }); // Check each table row checkbox $("input:checkbox[name=’row-check’]").on("change", function () { var allchkbx = $("input:checkbox[name=’row-check’]").length; var ttchkbx = $("input:checkbox[name=’row-check’]:checked").length; // If all checked manually then check check_all ..

Read more

Data insert & Delete works fine. However, the edit doesn’t update the data. Instead it inserts a new one.. I have INSERT & UPDATE in a single file, made with if conditions: <?php include ("./backend/config/connection.php"); include ("./backend/config/function.php"); if (isset($_POST["traffic_operation"])) { if (isset($_POST["traffic_operation"]) == "Add") { $traffic_doc = ""; if ($_FILES["traffic_doc"]["name"] != "") { $traffic_doc = ..

Read more

The Error: jquery-3.6.0.js:10109 POST http://localhost:3000/php/upload.php 404 (Not Found) I even tested it with a GET method, and it worked (I made it log the text in a .txt with the GET method and it worked). For some reason, it just doesn’t work with a POST method. I even tested the POST method with POSTMAN and ..

Read more