jQuery's highlight method will highlight any div with a yellow background.
How do I specify what color to use instead of yellow for highlight?
jQuery's highlight method will highlight any div with a yellow background.
How do I specify what color to use instead of yellow for highlight?
According to the documentation:
$(this).effect("highlight", {color: 'blue'}, 3000);
$("div").click(function () {
$(this).effect("highlight", { color: "#ff0000" }, 3000);
});
will highlight in red. It's all in the documentation.