skip to Main Content

Error on AJAX Form Submit for CodeIgniter 4 – Jquery

I am trying to save records using AJAX Form Submit for CodeIgniter 4. This is my Controller: `<?php namespace AppControllers; use CodeIgniterController; use AppModelsPeopleModel; class PreRegController extends Controller { public function index() { helper(['form']); $data = []; echo view('pregistration', $data);…

VIEW QUESTION

How is it Possible to order <DIV>s by date? – Jquery

i ran into a problem when using an ordering function. var $wrapper = $('#list'); $wrapper.find('.blogboxes').sort(function (a, b) { return +b.dataset.date - +a.dataset.date; }) .appendTo( $wrapper ); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div id="list"> <div class="blogboxes" data-date="2023. 01. 28."></div> <div class="blogboxes" data-date="2023. 01. 29."></div>…

VIEW QUESTION
Back To Top
Search