Infinite scroll pagination example


PHP Laravel - How to Check if a String Contains a Specific Word?

This example will help you to check if a string contains any substring in laravel. you can check if url contains string in laravel using Str::contains(). i will give you simple example of laravel str contains case insensitive. Laravel has a Str helper function. Str class has contains() method that will provide to check string contains in laravel application. contains() take a two argument one sho...


Vue JS call a function on load Example

If you want to call a function on page load in vue js then in this example i will show you how to trigger function on page load in vue js. we will run function on page load vue application. we mostly require to call method on page load in our application. so you want to call function in vue.js app then you can do it using created option in vue js. So i will give full example so you can check it...


Laravel Vue JS File Upload Example

Today, we will learn file upload with laravel and vue js. we will create example of laravel vue axios file upload. we can easily fire post request using axios and pass file object as parameter, so we can store file to server using laravel 5.8. If you are a developer, then you know about in today's web application. File upload is a primary task for every web app. The client always wants to file up...


AngularJS Convert String to Object Example

Are you looking for how to convert string to json object using angular.fromjson() in angular js app. we will convert string to object using fromjson(). we can easily convert string to javascript object in angular.js. few days ago i have php array but when i use in angular js code then it show me as string even i pass as php array. you can see what i was getting string: <pre> {\"name\":\"Hardik\",...


Vue JS Ajax Form Submit Example

I will share example of how to ajax form submit using api in vue js app. you can easily pass form data with ajax post request in vue.js. we will create simple form and submit form using post ajax request in vue js. in this example we will use axios for ajax api request and send form data in vue app. you can see bellow full example. in this example, we will create simple form with two input field...