Object: Client Script – OnLoad
Class: GlideForm
Script:
function onLoad() {
//Type appropriate comment here, and begin script below
if (g_form.getValue('priority') == 1) {
var obj = g_form.getControl('priority');
obj.style.backgroundColor = "red";
obj.style.fontWeight = 'bold';
}
}