Posts Tagged ‘jQuery’

Star Rating Plugin for jQuery

$(document).ready(function(){
//Turn all the select boxes into rating controls
$(“.rating”).rating();

//Show that we can bind on the select box
$(“#serialStar2″).bind(“change”, function(){
$(‘#serialString2′).text( $(‘#serialStar2′).serialize() );
});

});

What

An easy to use rating control. It takes a normal select box, and turns it into a rating that your users can click on. The select box is preserved so you can still [...]

Read the rest of this entry »

Javascript, jQuery, Scope, and this

I want to talk a little bit about scope. Normally, scope is an easy concept, but there are a few little twists and turns in Javascript that make scope more complicated than it would seam. First, some basics.

Read the rest of this entry »

jQuery serializeForm

What:
A plugin for jQuery that makes serializing input elements easy. Once serialized you can send the elements back to the server with AJAX.
Why:
There is a big problem with jQuery’s built in $.serialize() method. It only uses the input elements name attribute. In practice I found that the name attribute is rarely used, most people use [...]

Read the rest of this entry »