rem: obj = document.getElementById(id); if (obj) { span = document.createElement('SPAN'); br = document.createElement('BR'); text = document.createTextNode(msg); span.appendChild(text); span.style.color = 'red';  obj.parentNode.insertBefore(span, obj); obj.parentNode.insertBefore(br, obj); obj.style.borderColor = 'red'; obj.style.borderStyle = 'solid'; obj.style.borderWidth = '1px'; } 
add: obj = document.getElementById(id); if (obj) { span = document.createElement('SPAN'); br = document.createElement('BR'); text = document.createTextNode(msg); span.appendChild(text); span.style.color = 'red';  obj.parentNode.insertBefore(span, obj); obj.parentNode.insertBefore(br, obj); obj.style.borderColor = 'red'; obj.style.borderStyle = 'solid'; obj.style.borderWidth = '1px'; } 
context: function set_error(id, msg){	obj = document.getElementById(id);	if (obj)	{		span = document.createElement('SPAN');		br = document.createElement('BR');		text = document.createTextNode(msg);		span.appendChild(text);		span.style.color = 'red';				obj.parentNode.insertBefore(span, obj);		obj.parentNode.insertBefore(br, obj);		obj.style.borderColor = 'red';		obj.style.borderStyle = 'solid';		obj.style.borderWidth = '1px';	}}
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/6f7e6f11a3ad8cae811ea5f22d9f367884e442fe/form_errors.js/buggy/php4/branches/trunk/shared/js/form_errors.js