Month Archives: July 2018

jquery
Jquery

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').reset(); });If you have any coding query related to jquery then...

jquery
Jquery

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...

Laravel 7.2 routing with route group auth guard check with prefix
Laravel

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}','ReportsFinancesPaymentSummaryController@getFilterResponse'); PaymentSummaryController.php file code:public...

jquery
Jquery

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...

jquery
Jquery

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...

jquery
Jquery

Get multi-child parent div id jquery – jQuery trick 1

Hello to all, welcome to therichpost.com. In this post, I will tell you, Get multi-child parent div id jquery. Now I came with my best  my first love in coding jQuery. I like jQuery very much.Today I am giving working example of how to Get multi-child parent div id jquery: I will come with...

Laravel 7.2 routing with route group auth guard check with prefix
Laravel

laravel scheduler with delete query

Hello to all, welcome to therichpost.com. In this post, I will tell you, laravel scheduler with delete query.Your task schedule is defined in the app/Console/Kernel.php file's schedule method. Laravel scheduler is the very feature of laravel which makes cron jobs easy to handle and code.Here is example working query for laravel scheduler with delete...

Laravel 7.2 routing with route group auth guard check with prefix
Laravel

Laravel Create a custom middleware class that checks the user’s role

Hell to all, welcome to therichpost.com. In this post, I will tell you, how to Create a Laravel custom middleware class that checks the user's role?Laravel now a days top php mvc framework. I am also learning laravel.Here we start the code for Laravel custom middleware class that checks the user's role:1. First,...

How to add custom meta title and meta description in Wordpress?
Wordpress Tricks

Wp query display woocommerce product based on category name

Hello to all, welcome to therichpost.com. In this post, I will tell you, Wp_query display woocommerce product based on category name.Here is the code for Wp_query display woocommerce product based on category name and you can this code any of your wordpress theme's template file: 'product', 'posts_per_page'...

1 2 3
Page 2 of 3