Á¤±Ô½Ä, Ư¼ö¹®ÀÚ ÀÔ·Â Á¦ÇÑ |
|
|
![](icon/private_name/1.gif) |
10³â Àü |
var regMust1 = /[a-zA-Z0-9_]/; //¿µ¹®,¼ýÀÚ,_
var regMust2 = /[^a-zA-Z0-9_]/; //¿µ¹®,¼ýÀÚ,_ ¾Æ´Ñ°Í
//¾ê³×´Â Âü°í¿ë
var re = /[~!@\#$%^&*\()\-=+_'\"]/gi; //Ư¼ö¹®ÀÚ
if( MINE_NAME=='' && DRIL_HOLENO=='' && jijukName=='')
{
alert("°Ë»öÁ¶°ÇÀ» ÀÔ·ÂÇϼ¼¿ä.");
document.getElementById("MINE_NAME").focus();
return false;
}
else if(re.test(MINE_NAME)) {
alert("°Ë»öÁ¶°Ç¿¡ Ư¼ö¹®ÀÚ´Â ÀÔ·ÂÇÒ ¼ö ¾ø½À´Ï´Ù.");
document.getElementById("MINE_NAME").value = "";
document.getElementById("MINE_NAME").focus();
return false;
}
else
|
|
̵̧ : 448 |
̵̧
¸ñ·Ï
|
|