You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
437 B
23 lines
437 B
function fnVerifyInput( obj, nSize )
|
|
{
|
|
var L_OVERLIMIT_TEXT = "You have exceeded the allowed size of the input box.";
|
|
var nLen = new String( obj.value )
|
|
|
|
if ( nLen.length > nSize )
|
|
{
|
|
alert( L_OVERLIMIT_TEXT );
|
|
obj.value = nLen.substr( 0 , nSize );
|
|
}
|
|
|
|
}
|
|
|
|
function fnFollowLink( szURL )
|
|
{
|
|
if ( typeof(window.navigate) != "undefined" )
|
|
window.navigate( szURL );
|
|
else
|
|
document.forms[0].submit();
|
|
|
|
}
|
|
|
|
|