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 | | 1196 Viewer | Category : Javascript jQuery

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 | | 671 Viewer | Category : Git

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 | | 15006 Viewer | Category : PHP Laravel

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 | | 18232 Viewer | Category : PHP Javascript jQuery

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="

By Hardik Savani | January 8, 2016 | | 14101 Viewer | Category : PHP Bootstrap

Apache Import basename() Google API Fullcalendar JS Protection Laravel 5.4 SweetAlert Plugin whitespace popupMultiSelect plugin Variable meta http-equiv tag Cordova Segment Field Paytm Paging Column SEO URL Mailgun API no-captcha Bootstrap maxlength plugin Select Laravel Passport Login With FB Ionic setInterval() Permission Attr Ckeditor User Server toastr js Mediafıre API Sublime away() strpos Div gmaps.js Image word-wrap Send chmod AngularJS Filter MVC Reset chumper/zipper Xampp RAND() Log Tracking LIKE Query GuzzleHttp response() lowercase Message Sublime text 2 Payment Gateway FadeOut Highlight JS intervention/image Sortable Phonegap Hard Failed Form JS Plugin Object public_path csrf_token MSSQL Repo Magento Express Commit Barcode Index inner join Branch First Function getQueryLog MassAssignmentException Setup Empty Switchery JS Botdetect Captcha INTERVAL Tag Manager plugin virtual host Application Form Validation Mysql Concat Limit Laravel Cashier Scroll X-editable Plugin Carbon encrypter Path Toggle filter_var Artisan Command toSql Ubuntu Script Laravel Resource Client side validation Contact US Form Packages Database AngularJS Directive CASE_LOWER Element Object to Array Instagram API Pagination Calculate JSON Twitter Bootstrap throttle Module phpmyadmin Auth 404 error page Subscribe Parameters Custom Repository Pattern Trigger orderBy json() DB Statement array_combine Event Chart.js Config MySql Image Gallery CURL Ip Address PingPong Form Jquery KCFinder oauth clearbit API String Redirect Pull Magento 2