I want to highlight a <span> using jQuery.effect(‘highlight’), but it fades out after a period of time.
How can I get the highlight to be persistent?
My code is:
$('span').live('click', function () {
$(this).effect("highlight", { color: "#ff3fff"});
});
I don’t think the highlight effect has a persistant state, you could just set the background colour: