JQuery


Laravel return view ajax request example

Sometime, we may require to return view from controller via jquery ajax request in Laravel 5 application. So in this example i will let you know how to generate view from controller and return it. Here, i will create two blade file and another controller method so you have to just follow bellow example. Here bellow blade file. <strong>blade file:</strong> <pre> <!DOCTYPE html> <html> .....

Posted On August 8, 2017

Laravel 5 Chart example using Charts Package

It's always good fit for understand if we use some graphical way display our progress report using chart. So if you are working with laravel 5 framework then you can use chart very simple way and best layout. There are several js library available for chart like chartjs, highcharts, google, material, chartist, fusioncharts, morris, plottablejs etc. in this example we will just use one laravel "Con.....

Posted On July 29, 2017

Laravel 5 datatables example from scratch

Data Tables is a plug-in for the jQuery Javascript library. DataTables provide us flexibility to search, list, sort and pagination using jquery. We can also simply use ajax with datatables too. So in this tutorial, i will tell you how to use datatables in laravel 5 application, after this you can simply use with all version like 5.1 to upcomming laravel 5.5 So, in this example i will use yajra/la.....

Posted On July 26, 2017

Jquery .toFixed(2) is not a function error - Solved

When i was working on core php project and i need to work with float value. Like i require to fixed decimal point with two digit after point. So i did search on google and found the tofixed() of javascript. But when i try and checked on my fire but, it say tofixed() is not a function. I thought what was wrong and i did try many way. However, Finally i got what is issue and found the best solution.....

Posted On July 17, 2017

How to convert image into base64 string jQuery?

Sometime, We may need to convert image object into base64 string using javascript. base64 is easy to store directly to database and simply use it. So in this example i will let you know how to convert your selected image or file into base64 string. Here, bellow see full example of convert selected image into base64 string. So let's see bellow example. <strong>Example:</strong> <pre> <!DOCTYPE .....

Posted On June 28, 2017

How to send json response from controller in codeigniter ?

In this article, we will learn how to send json response from controller method in codeigniter application. When we work with jquery ajax at that time we need to manage using json. If you got error then it will return json array with error. So You can simple send json response from controller function in codeigniter application by following example: Let's see example as bellow: <strong class="ste.....

Posted On May 20, 2017

Laravel autocomplete typeahead search example from scratch

In this article, i will show you how to create jquery ajax autocomplete using typeahead js plugin in Laravel 5 application. If you have thousands of data in database table and you require to display in drop-down or something like to choose that data. So If you use drop-down it load and it's hard to find specific record. So At that time you can simply use jquery autocomplete in your application. I.....

Posted On May 10, 2017

Laravel full calendar tutorial example from scratch

In this example you will learn how to implement fullcalendar(JavaScript Event Calendar) in Laravel 5 application. we would like to represent our events, schedule, tasks etc on calendar that way we can see when starting time and ending time. In this article we will use fullcalendar jquery plugin for display events in laravel application. It is very easy to implement. Example is from scratch so yo.....

Posted On May 6, 2017

How to use color picker in Laravel 5 ?

As we know, today we always want to make better layout for each small point of our application like datepicker, colorpicker, sorting etc. If you need to add color code on database then you would like to use color picker instead of just give textbox. In this example you can learn how to use bootstrap color picker in laravel 5 application. Here we use bootstrap-colorpicker plugin for color picker So.....

Posted On May 5, 2017

Bootstrap switch toggle example from scratch

we love to make better layout to give user, if you require switch in bootstrap then you can simply use bootstraptoggle library of jquery. bootstrap toggle provide us good layout and you can apply very simply. In this example you can see how to use and how it easy. Here i we take checkbox with animated layout. You can see design as live bellow: <strong>Layout:</strong> <img src="/upload/bootstrap-t.....

Posted On May 3, 2017

Blog Search