Using jQuery to count all inputs fields value

I have developed this code to get sum of multiple input field’s value by using jQuery.
HTML and PHP :-

<?php 
    if(!empty($businessSerList)) 
    { 
        foreach ($businessSerList as $key = $busiSerList) 
        { 
?>
            <input id="percentagePopUp<?php echo $key; ?>" class="form-control parsley-validated BUSLinput" name="percentagePopUp[]" type="text" value="<?php if(in_array ($busiSerList->business_service_area_id, $result)) { echo $perse[$busiSerList->business_service_area_id]; } ?>" data-type="number" >
<?php 
        } 
    } 
?>

Read more

jQuery Sliders of 2013

Sliders are difficult to directly compare as like any jQuery plugin each could be more suitable for a specific job. To find the most suitable slider for your project the best way is to simply experiment.

One of the most impressive so far for 2013 is surely Sly.

We can find a slider demo of this post here.

Demo for SLY slider click here
Demo for Liquid slider click here
Demo for Any slider click here

We got this blog from www.usejquery.com for blog more information Click Here

Latitude, Longitude With jQuery Autocomplete City Widget, Ajax

When using the jQuery autocomplete widget to fill in city names, you can return more than just the state and country names from within the same ajax function. If you’re using it to pull from GeoNames webservices, then here is how you can also get the latitude and longitude decimal coordinates, as well as the degree, minute formatted coordinates, like 25n11, 80w11. This is only a clip from the entire jQuery for autocomplete.

We got this blog from isabelcastillo.com/ for blog more information Click Here

Simple Textarea Word Counter jQuery Plugin

This is a good blog for count word from Jquery and explain in a very simple model. Blogger has shown his code in clear section that will help users in understanding. Blogger also gives code link for download.

(function($){
    $.fn.textareaCounter = function(options) {
        // setting the defaults
        // $("textarea").textareaCounter({ limit: 100 });
        var defaults = {
            limit: 100
        };
        var options = $.extend(defaults, options);
    
    // and the plugin begins
    return this.each(function() {
        var obj, text, wordcount, limited;
        
        obj = $(this);
        obj.after('
            Max. '+options.limit+' words
        ');
        
            obj.keyup(function() {
                text = obj.val();
                if(text === "") {
                    wordcount = 0;
                } else {
                    wordcount = $.trim(text).split(" ").length;
                }
                if(wordcount > options.limit) {
                    $("#counter-text").html('0 words left');
                    limited = $.trim(text).split(" ", options.limit);
                    limited = limited.join(" ");
                    $(this).val(limited);
                } else {
                    $("#counter-text").html((options.limit - wordcount)+' words left');
                }
            });
        });
    };
})(jQuery);

We got this blog from bavotasan.com for blog more information Click Here