Latest Post


How to convert line breaks to br in jQuery ?

If you are use textarea and you want to like break into br(\n) so that way we can give format as user insert, but if you are working on php then you can easily doing with nl3br() through, but if you are using in jquery or javascript then you have to first declare that. i did give full example of jquery textarea line breaks as under. <pre class="code language-html"> <body> <textarea class="textareac"></textarea> <script> var text_content = <?php echo $content ?>; function nl2br (str, is_xhtml) { var breakTag = (is_xh.....

By Hardik Savani | January 9, 2016 | | 481 Viewer | Category : Javascript jQuery
READ MORE

How to remove current changes from local system in Git ?

Git remove all current changes, if you did some wrong code in your project and you want to remove from git. then you can simply remove by git checkout command.i mean you did changes in your local system from git. you can use this command. <pre> git checkout . </pre> Try this..

By Hardik Savani | January 9, 2016 | | 389 Viewer | Category : Git
READ MORE

How to add ckeditor with image upload in Laravel ?

if you want to use ckeditor in laravel and you also want to add file uploading as well. if you are use simply in php then it is very simple. but if you are set laravel then you fetch many problem like i also fetch lots of problem. Now, i will give you few step to set ckeditor with file uploading and you will easily apply this. this is a very simple to browse your image, file etc upload. use ckeditor in php, use ckeditor in laravel 4, use ckeditor in laravel 5, how to add ckeditor in laravel, laravel ckeditor image upload, laravel ckeditor example, laravel ckeditor sample, ckeditor laravel 4,.....

By Hardik Savani | January 8, 2016 | | 5701 Viewer | Category : PHP Laravel
READ MORE

How to check Object is empty or not in Jquery/JavaScript ?

you can check your JavaScript OR jQuery object is empty or not, because we need to check many place our jQuery object is empty, null or undefined etc., So usually, we can check using $.isEmptyObject() as i explained as under. how to check empty object in javascript, how to check empty object in jquery, jQuery.isEmptyObject() example, jquery check object is null, jquery check object is empty, jquery check object is empty or not, how to check json object is empty or not in jquery, check if json object is empty jquery <pre class="language-javascript"> if($.isEmptyObject(your_object)){ alert(.....

By Hardik Savani | January 8, 2016 | | 4238 Viewer | Category : PHP Javascript jQuery
READ MORE

How to set Datepicker in bootstrap?

You are working on bootstrap and you want to add datepicker, then you have to use bootstrap-datepicker library. but if you are new and how to add datepicker in bootstrap then i provide you example of bootstrap datepicker. How to set Datepicker in bootstrap datepicker, how to use datepicker in bootstrap, implement bootstrap datepicker, use bootstrap datepicker in php, how to use bootstrap datepicker in html, bootstrap datepicker example demo. <pre class="code language-html"> <title>How To Use Datepiker</title> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6.....

By Hardik Savani | January 8, 2016 | | 3637 Viewer | Category : PHP Bootstrap
READ MORE


    Simple Example of Bootstrap Lightbox Plugin with demo

    Simple Example of Bootstrap Lightbox Plugin with demo

    Open Post

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Open Post

    Laravel 5 Facebook authentication using Socialite Package

    Laravel 5 Facebook authentication using Socialite Package

    Open Post

    Laravel 5 create custom artisan command with example

    Laravel 5 create custom artisan command with example

    Open Post

    Laravel 5.3 Image Upload with Validation example

    Laravel 5.3 Image Upload with Validation example

    Open Post

    Jquery - How to copy text to clipboard without flash example ?

    Jquery - How to copy text to clipboard without flash example ?

    Open Post