Latest Post

How to set scroll to bottom in jquery?

Sometimes, we need to set scroll bottom as default by using jquery, in bellow example you can see i use scrollHeight for get the total height of scroll class div with scroll, and at last i use animate with scrollTop attribute and set bottom, So Basically when your page will load then automatically scroll as bottom. <strong>Example:</strong> <pre class="code language-html"> <html lang="en"> <head> <title>Scroll Down bottom</title> <script src=""></script> </head> <body> <div cl.....

By Hardik Savani | February 11, 2016 | | 1060 Viewer | Category : PHP HTML jQuery

How to create custom facade in laravel 5.2?

Sometimes we are use repeat code and repeatedly use function at that time we can create custom facade for our project, that way you can create functions and use it.So, How to generate custom facade, I give you the few step to create custom facade: <strong>Step 1:Create class file app/ItSolution/DemoClass.php</strong> In Following step, first you should create "ItSolution" directory in app folder and create file DemoClass.php(<strong style="color:red">app/ItSolution/DemoClass.php</strong>).now copy the following code in your DemoClass.php file. <strong>app/ItSolution/DemoClass.php</strong> <pr.....

By Hardik Savani | February 10, 2016 | | 6191 Viewer | Category : Laravel

Check and Uncheck checkboxes using JQuery

Sometimes we need to Select and Deselect all checkboxes like you see on gmail if you check top checkbox then automatically select other all.So, we can do using jquery and its method prop().In Following example you can see how is that and use this example simply: <strong>Example:</strong> <pre class="code language-html"> <html lang="en"> <head> <title>Select and Deselect Checkbox</title> <script src=""></script> </head> <body> <input name="subject_all" class="subject-all" type=.....

By Hardik Savani | February 10, 2016 | | 575 Viewer | Category : HTML jQuery

How to create custom helper in Laravel 5?

I would like to explain how to create custom helper functions, in your laravel project some functions and some repeating code, so at that time you have to create some helper functions that can help to easy way and every time you not need to write more code and very flexible, that way you can easily modify that code. Now if you want to add custom helper functions in your website or project directoty then you have to follow just three step and use it. <strong>Step 1: Create helpers.php File</strong> In this step, you need to create <strong style="color:red">app/Http/helpers.php</strong> in you.....

By Hardik Savani | February 9, 2016 | | 4319 Viewer | Category : Laravel

How can i print php variable in jquery?

If you are working on php and you need to print your php variable inside the javascript then you can simple get value. you can use "" for get value of php variable. in following example you can see : <strong>Example:</strong> <pre class="code language-html"> <script type="text/javascript"> var my_var = "<?php echo $my_variable; ?>"; console.log(my_var); </script> OR <script type="text/javascript"> var my_var = <?php echo $my_variable; ?>; console.log(my_var); </script> </pre> But, you can use on php file, Not on js file.

By Hardik Savani | February 8, 2016 | | 889 Viewer | Category : PHP Javascript jQuery

Source Code str_random() Contact US Form Strip Tags Month Apache Issue Notification Determine Codeigniter 3 Composer After Sort Laravel 5.3 Script thomaswelton/laravel-gravatar Folder Jquery Dialog Box Auth validator.js mod_rewrite FIND_IN_SET() Percentage intervention/image CASE_LOWER Links Capitalize Foreach Particular Numeric nl2br bootstrap-growl Empty Terminal Laravel 5.2 SEO SUM() Request Force refs Exists Authentication Email String Database Seeder is_null oauth select box search Select FadeIn Ajax Request Automatically Character Confirm Box tagsinput.js Repository Pattern Download toastr js roumen/sitemap colorpicker SUBSTRING_INDEX() CSS Windows ajaxStart Parameters Toggle Captcha code lowercase Javascript Sortable Blocked Strings Message GET Ajax tree view Collapse Array Paypal Payment Gateway Tooltip AngularJS Directive typed.js plugin Chart.js encrypter File Upload Parsley Module php_ini_loaded_file Value DB Statement Path Tracking croppie.js ServiceProvider Socialite Ionic LIKE Query response() Failed php artisan serve REST Ionic framework google recaptcha code Clear clockface plugin hasColumn Google Chart Jquery UI Variable Loading Field Modal csv array_change_key_case hasTable Delete Library Redirect Bootstrap maxlength plugin Bootstrap Tokenfield Plugin Example jquery.lazyload.js Query Builder Dropbox API Jquery Plugin Attribute Sitemap bootstrap-multiselect plugin csrf_token date_format() XML Botdetect Captcha Elasticsearch Null Thumbnails Control FILTER_VALIDATE_URL inner join Controluser Page Node JS Convert DATE_SUB Pixel Export Segment Redis league/flysystem-dropbox Google API Input upload_max_filesize