Loading data remotely in Select2 – Laravel 7

Select2 is a jQuery plugin which customize <select > element and adds multiple functionality like – searching, multiple option selections, etc.

You can import data using jQuery AJAX or directly list data in the element.

In this tutorial, I show how you can add select2 on a select element and load data using jQuery AJAX in the Laravel 7 project.

Loading data remotely in Select2 – Laravel 7

Read more

How to upload Multiple Image files with jQuery AJAX and PHP

Uploading files without refreshing the entire page has become a preferred method in web development as it offers a more user-friendly experience. This approach allows for instant image preview display, enhancing the interaction and engagement with the website or application.

In this tutorial, I will show how to leverage the power of jQuery AJAX and PHP to upload multiple image files and display previews without the need for page refresh. This technique will enhance the functionality and interactivity of your web applications, allowing users to conveniently select and upload multiple images in a smooth and efficient manner.

How to upload Multiple Image files with jQuery AJAX and PHP

Read more

Delete Multiple Selected Records in DataTables – PHP

DataTables plugin is the easiest way to add pagination on the page with all the required features.

For adding delete control you can either add a delete button with each record or add checkboxes and a single delete button.

In this tutorial, I show how you add multiple checkboxes and delete selected records on a single click in DataTables using jQuery AJAX.

Delete Multiple Selected Records in DataTables - PHP

Read more