Category : Javascript

ItSolutionStuff.com have tutorials for Javascript, here you can study articles of Javascript, Javascript posts collection, most popular and useful tutorials of Javascript, here you can find list of all relevant posts and example about Javascript, we have lists of tutorials and examples about Javascript.very simple and quick example collection of Latest Javascript category.




How to remove undefined value from jquery array?

How to remove undefined value from jquery array?

If you have jquery or javascript array with lots of undefined value and you want to remove all undefined value from array. you can remove undefined items from your array without using each loop you have to just use filter, I would like give the example how to remove undefined element from javascript.....

By Hardik Savani | Views: 40302 | March 12, 2016 | Category : Javascript

How to redirect page using JQuery?

How to redirect page using JQuery?

You can redirect page or url in your js file. when you require to redirect page form jquery thrn you can use window.location.href. window.location.href through you can redirect url using jquery/javascript. So, Let's see following example: <strong>Example:</strong> <pre class="prettyprint lang-js">wi.....

By Hardik Savani | Views: 35636 | March 10, 2016 | Category : Javascript


Multi select autocomplete jquery example with code

Multi select autocomplete jquery example with code

In this post i show you how to use autocomplete with multiple select option by jquery. I think you will did autocomplete for single option using jquery ui plugin. but in this post you can learn multi selection autocomplete using jquery ui. In bellow preview you can see how will output of your multis.....

By Hardik Savani | Views: 107115 | March 8, 2016 | Category : Javascript

PHP Image upload without refreshing page using jquery example

PHP Image upload without refreshing page using jquery example

In this post i show you how to image upload without page reload using jquery ajax. jquery ajax through you can upload image and store record into database in php. i use jquery.form plugin for image uploading. So you can do by following few step of file uploading ajax jquery. <strong>Preivew</strong>.....

By Hardik Savani | Views: 63015 | March 4, 2016 | Category : Javascript

How to use each loop with class element of html in Jquery?

How to use each loop with class element of html in Jquery?

Whenever you need to use each loop in jquery then you can follow this example code. each with html class you can get whole object of that class using $(this) jquery function. In following example you can see i get attribute data-id using $(this).data('id'), that means you can take current class data.....

By Hardik Savani | Views: 31895 | March 4, 2016 | Category : Javascript

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

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

By Hardik Savani | Views: 34733 | February 26, 2016 | Category : Javascript

How to get max attribute value in jquery?

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

By Hardik Savani | Views: 40435 | February 23, 2016 | Category : Javascript

Crop, Resize, Frames etc on selected image in php using Aviary

Crop, Resize, Frames etc on selected image in php using Aviary

Whenever you require to use any image plugin for select image and crop,resize,effects,frames,strickers ect, so you have to use Aviary api like as you see of facebook, twitter ect., that site plugin provide lots of efects and api guide that way you can use easily in your web app and as well as on mob.....

By Hardik Savani | Views: 42458 | February 16, 2016 | Category : Javascript

How can i print php variable in jquery?

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

By Hardik Savani | Views: 39184 | February 8, 2016 | Category : Javascript

Select only one checkbox at a time using Jquery

Select only one checkbox at a time using Jquery

If you need to select one checkbox at a time in multiple checkbox, i mean you want to allow anly one checkbox user can check then you can do easily using jquery. jquery prop() through you can give attribute value checked equel to true or false. if you have banch of checkbox like as example, and if .....

By Hardik Savani | Views: 103140 | February 5, 2016 | Category : Javascript