I would like to use jquery highlight effect to highlight a paragraph with background orange, then when completed, turn on orange background permanently. In this code the second task does not work.
myparagrah = $("#thisParagraph");
turnOrangeOnWarning("This is a warning!");
function turnOrangeOnWarning(t) {
myparagrah.text(t).effect("highlight",{ color : orange },1000);
myparagrah.css("background-color","orange");
}