eimg / jquery-voter

A simple jQuery plugin to attach up/down voting facility to selected HTML elements.
10 stars 0 forks source link

jQuery Voter Plugin

A simple jQuery plugins to attach up/down voting functionality to selected HTML element.

Basic Usage

$(selectors).attachVoter({ options });

With Up/Down Vote Callbacks

    $(selectors).attachVoter({
        "doUpVote": function(id, value) {
            //
        },
        "doDownVote": function(id, value) {
            //
        },
        "undoUpVote": function(id, value) {
            //
        },
        "undoDownVote": function(id, value) {
            //
        }
    });

Options

Release Note