Author: therichpost
-
Laravel pagination using mysql limit offset
Hello to all, welcome to therichpost.com. In this post, i will tell you, Laravel pagination using mysql limit offset. Laravel is the top mvc framework in php. Here is working and tested code for Laravel pagination using mysql limit offset: // Paginate $limit = 2; //$_GET[‘page’] – get page number form url like – www.therichpost.com?page=1 $offset =…
Written by

-
Jquery datepicker with text input that does not allow user input – jQuery trick 9
Hello to all, welcome to therichpost.com. In this post, I will tell you, Jquery datepicker with text input that does not allow user input. Here is the working demo code for Jquery datepicker with text input that does not allow user input: If you have any query related to this post, then feel free to ask.
Written by

-
Show google map with dynamic address – jQuery trick 8
Hello to all, welcome to therichpost.com. In this post, I will tell you, Show google map with dynamic address. I am showing the google map with textarea box value with jquery onblur event. You just need to add address in text-area like: canada. Here is the working demo for Show google map with dynamic address: If…
Written by

-
Open bootstrap modal on click on custom jquery datatable button – jQuery trick 7
Hello to all, welcome to therichpost.com. In this post, I will tell you, Open bootstrap modal on click on custom jquery datatable button. DataTables is a plug-in for the jQuery Javascript library and Bootstrap is also very famous front-end framework. Here is the working code for Open bootstrap modal on click on custom jquery datatable button: …
Written by

-
Reset form inside bootstrap modal popup when it closed – jQuery trick 6
Hello to all, welcome to therichpost.com. In this post, I will tell you, Reset form inside bootstrap modal popup when it closed. Here is the working demo code for therichpost Reset form inside bootstrap modal popup when it closed: $(‘#myModal’).on(‘hidden.bs.modal’, function () { $(‘#myModal form’)[0].reset(); }); If you have any coding query related to jquery then feel free…
Written by

-
Jquery mobile number validation – jQuery trick 5
Hello to all, welcome to therichpost.com. In this post, I will tell you, Jquery mobile number validation. jQuery is simple, write less do more. In text input, we will add 10 to 13 digits with plus(+) sign. (+777777777777). Here is the working demo code for Jquery mobile number validation: If you have any query related to jquery…
Written by

-
How to pass laravel route to controller with multiple parameters?
Hello to all, welcome to therichpost.com. In this post, I will tell you, How to pass laravel route to controller with multiple parameters? Laravel is the best php mvc framework. In this post, we will send multiple parameters to controller from laravel route. Here is complete working and tested code: web.php file code: Route::get(‘/payment-summary/filter/{startDate}/{endDate}/{location}/{staff}/{voucher}’,’Reports\Finances\PaymentSummaryController@getFilterResponse’); PaymentSummaryController.php file code:…
Written by

-
Add dynamic id to dynamic jQuery generated content – jQuery trick 4
Hello to all, welcome to therichpost.com. In this post, I will tell you, Add dynamic id to dynamic jQuery generated content. jQuery seems the best in some cases and I have millions of examples for this. I am generating dynamic content with the help of jquery and add dynamic id to that content. Here is working…
Written by

-
Get days difference in two dates – jQuery trick 3
Hello to all, welcome to therichpost.com. In this post, I will tell you, Get days difference in two dates. jQuery is easy but sometimes it is difficult in simple tasks like this. Here is the working code for Get days difference in two dates: If you have query related to jquery or this post, then please…
Written by

-
Jquery click on dynamically created element – jQuery trick 2
Hello to all, welcome to therichpost.com. In this post, I will tell you, Jquery click event on dynamically created element. In this post, I will fire the click event on jquery created button. Here is the working example code: If you have any query related to this post or any thing related to jquery then…
Written by
