최초커밋
This commit is contained in:
34
contact/inc_bottom_script.asp
Normal file
34
contact/inc_bottom_script.asp
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
<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>
|
||||
Reference in New Issue
Block a user