wrest.js 유효성 검사 후 포커스 스타일에서 글자색 제거

This commit is contained in:
whitedot
2013-01-15 21:57:44 +09:00
parent edfda50273
commit e56f83ed5a

View File

@ -1,7 +1,6 @@
var wrestMsg = ""; var wrestMsg = "";
var wrestFld = null; var wrestFld = null;
var wrestFldDefaultColor = ""; var wrestFldDefaultColor = "";
var wrestFldColor = "#fff";
var wrestFldBackColor = "#ff3061"; var wrestFldBackColor = "#ff3061";
// subject 속성값을 얻어 return, 없으면 tag의 name을 넘김 // subject 속성값을 얻어 return, 없으면 tag의 name을 넘김
@ -303,7 +302,6 @@ function wrestSubmit()
if (wrestFld.style.display != "none") { if (wrestFld.style.display != "none") {
wrestFld.style.backgroundColor = wrestFldBackColor; wrestFld.style.backgroundColor = wrestFldBackColor;
wrestFld.style.color = wrestFldColor;
if (typeof(wrestFld.select) != "undefined") if (typeof(wrestFld.select) != "undefined")
wrestFld.select(); wrestFld.select();
wrestFld.focus(); wrestFld.focus();