Ciao a tutti,

sto seguendo le istruzioni mostrate in questo sito http://http://dtbaker.com.au/random-...g-thingey.html per realizzare un sistema di rating, funziona tutto tranne forse la cosa principale.. ovvero nel momento in cui clicco su una stellina per esprimere un giudizio in firebug mi restituisce un'errore incomprensibile (per me)

codice:
uncaught TypeError: Object function $(element) {
  if (arguments.length > 1) {
    for (var i = 0, elements = [], length = arguments.length; i < length; i++)
      elements.push($(arguments[i]));
    return elements;
  }
  if (typeof element == 'string')
    element = document.getElementById(element);
  return Element.extend(element);
} has no method 'function'
voteprova.html:87
(anonymous function)prova.html:109
onclick
spero possiate darmi una mano.. grazie