Infinite scroll pagination example


Angularjs remove duplicates object from objects array

Today, i will give you example of how to remove duplicate array or object from array using js forEach. we can simply filter remove duplicates from array in angular js. you use this code for removing same entries array in json object in angular 2, angular 4, angular 6, angular 7. in this example, we will create simple angular js json array with some duplicate array. then we will create javascript...


Codeigniter Ajax Form Submit Example

In this tutorial, i will show you how submit form using jquery ajax without page refresh in codeigniter 3. i will write simple example of submit form using jquery ajax in codeigniter 3 website. When you click on submit button then it will automatically call submit event of jquery. In submit event i write code of ajax with post request and pass all input text value as parameter. you can also use s...


How to find nearest location using latitude and longitude in laravel

In this post, i would like to fine neareby place using latitude and longitude query in laravel eloquent. you can simply get nearest geolocation by mysql radius query in laravel 5. If you have places, hotels, home, city, state, country, products, dealer, supplier etc with latitude and longitude location then you can simply find easily nearby you. so let's see following sq query that can simply use...


Laravel redirect back with input and error message example

Sometime, we need to redirect back to form page with input values and error messages in laravel 5 application. So if you have same require to back with validation error message or redirect back with input value then this post will help you. we almost use laravel default validate method for validation because it will automatically redirect back with your previous form page. But sometime you need t...


Datatable disable sorting on particular column example

If you want to remove sorting arrows or disable sorting on specific columns in datatables library than you can do it using columnDefs. we can simple disable ordering arrows from table in data tables js. even you are using with php, laravel, codeigniter, vue js etc. we can disable particular column sorting like one column, first column, last column, specific index. Datatable library makes very sim...