Latest Post

How to get ckeditor value with tags on ajax-submit ?

If you are use ckeditor for textarea and you need to fore ajax submit or form js submit, but you can't find ckeditor value in your controller or php file. So, first you have to update field using CKEDITOR.instances. so you can try to following code. <pre class="language-javascript"> for ( instance in CKEDITOR.instances ) CKEDITOR.instances[instance].updateElement(); </pre>

By Hardik Savani | February 26, 2016 | | 1216 Viewer | Category : PHP Javascript jQuery
READ MORE

How to get max attribute value in jquery?

Sometimes, you have a many tag with same class and attribute with value, but you need to find maximal value of attribute from that comman class, In bellow you have same html tag: <pre class="code language-html"> <ul> <li class="test" data-id="3">hi</li> <li class="test" data-id="5">hey</li> <li class="test" data-id="1">hello</li> </ul> </pre> Now, you require to get max value, i mean you need to 5, because that is big value from other, so you can get maximal value from this way: <pre class="language-javascript"> var max = 0; $('.test').each(fu.....

By Hardik Savani | February 23, 2016 | | 567 Viewer | Category : Javascript HTML jQuery
READ MORE

Codeigniter Angularjs http post not working

Sometimes, you face problem you can't get post data using $this->input->post(), when you fire $http.post() using AngularJS or Jquery. I also face this issue, i can't receive post value when i fire $http.post in AngularJS, But i found how to receive post data or json data in Codeigniter controller. in following example through you can solve your problem: <pre class="language-php"> public function store() { $this->load->database(); $_POST = json_decode(file_get_contents('php://input'), true); $posts = $this->input->post(); $this->db->insert('posts', $posts); } </pre>

By Hardik Savani | February 22, 2016 | | 1617 Viewer | Category : PHP jQuery AngularJS Codeigniter
READ MORE

Codeigniter 3 and AngularJS CRUD with Search and Pagination Example.

In This tutorial i want to show you how to create CRUD(Create, Read, Update, Delete) using AngularJS in Codeigniter. I added few step to create create, edit, delete, lists, search and pagination application in your Codeigniter framework. In this tutorial through you can make simple crud, search and pagination module and easily use in your codeigniter project. I am going to show preview of items module that we will do using angularJS and Codeigniter 3. <strong>Preview:</strong> <img src="/upload/code-angular.png" width="100%" style="border:2px solid cadetblue" /> <strong class="step">Step 1: C.....

By Hardik Savani | February 21, 2016 | | 75898 Viewer | Category : PHP Codeigniter AngularJS
READ MORE

How to convert one time zone to anothor time zone

Some application required one time zone to convert another time zone. PHP provide some readymade timezone conversion classes but it a very complecated. so we have try to define this function simple way. You can createe a simple class and write one function into the class. then you able to use this function everywere. <pre class="language-php"> class convertTimezone { function convert_timezone() // Constructor of the class { } function converToTime($conv_fr_zon=0,$conv_fr_time="",$conv_to_zon=0) { //echo $conv_fr_zon; $cd = strtotime($conv_fr_t.....

By Hardik Savani | February 17, 2016 | | 659 Viewer | Category : PHP Laravel
READ MORE


select box search Fetch Barcode PayPal Each Chat URL Reset Scout Package AngularJS php_ini_loaded_file Localization Path clearInterval() Frontside Validation yajra/laravel-datatables-oracle toArray() Multiple ServiceProvider DB::raw() Parsleyjs Blocked Git datatables Check Timepicker Technology Behance API Flash Message array_combine GET Ajax After thomaswelton/laravel-gravatar croppie.js PHP artisan setInterval() Laravel Builder Source Code Library league/flysystem-dropbox Commit Image Upload Login With FB chumper/zipper Query Builder gulp Element Delete Composer bplist-parser helper Tracking Value screenshotmachine.com API bootstrap-multiselect plugin strtolower Artisan php.ini Toggle Sitemap Pull Bootstrap show password Plugin Opencart PHPUnit MySQL Subquery Master Notification AngularJS Filter Animation Page Undefined thujohn/twitter package roumen/sitemap LIKE Query PingPong SMTP Validation Schema Datepicker Ip Address Generate gmaps.js softDeletes Blade inject chmod whitespace Remove Sendgrid Base URL XML XSS csrf_token Plugins Google API Middleware mac RAND() json() Function Enable public_path Ajax Request ACL Input Amazon S3 Add Repo Bootstrap-lightbox Plugin Key Constraint Laravel 5.3 Prompt modal oauth Query Redirect HTML Backup SweetAlert Plugin maatwebsite split Installation Subscribe Multi Auth Select Query Dropbox API toastr js Components & Slots SEO str_random() Variable Sublime text 2 Form Validation Database Seeder Clear Run Project Node JS Xampp JSON scrollTop Now Index Package Div Calculate Twitter API Laravel Attribute CORS orderBy response() voyager package