clicca qui per eseguire l'evento click funzione solo una volta
$(function () {
$("#unavolta").one("click",function () {
alert("eseguito solo una volta!");
});
$("#mousesopra").hover(
function () {
$(this).text("mouse over");
},
function () {
$(this).text("mouse out");
}
);
$("#toggleclick").toggle(
function () {
$(this).text("1");
},
function () {
$(this).text("2");
},
function () {
$(this).text("3");
}
);
});