Files
KIN/contact/inc_bottom_script.asp
2025-09-29 17:55:08 +09:00

35 lines
782 B
Plaintext

<SCRIPT LANGUAGE=javascript>
String.prototype.trim = function()
{
return this.replace(/(^\s*)|(\s*$)/g, '');
}
String.prototype.ltrim = function()
{
return this.replace(/(^ *)/g, '');
}
String.prototype.rtrim = function()
{
return this.replace(/( *$)/g, '');
}
function No_BackSpace()
{
if(event.keyCode==8)
{
//alert ('현재 페이지에서 뒤로 갈수 없습니다.');
event.keyCode=38;
}
return false;
}
function ctrlEvent() {
if ((event.keyCode == 78) && (event.ctrlKey == true))
{
alert('죄송합니다...새창 띄우기는 하실수 없습니다.');
return false;
}
}
</script>