Clicca nei campi di testo qui sotto
$(function () { $(":text").bind("focus blur", {"background-color" : "#FFFFCC"}, function (event) { if (event.type == "focus") { $(this).css(event.data); } else { $(this).css("background-color",""); } }); });