Skip to content

Instantly share code, notes, and snippets.

@awendt
Created January 25, 2010 16:00
Show Gist options
  • Save awendt/285961 to your computer and use it in GitHub Desktop.
Save awendt/285961 to your computer and use it in GitHub Desktop.
// as seen on http://jetlogs.org/2007/09/03/jquery-select-boxes-and-change-events/
var message = new Array();
message[1] = "You have selected first item";
message[2] = "You have selected the second item";
message[3] = "You have selected the last item";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment