ma scusate la mia ignoranza...
non basta associare una funzione javascript al testo html?