M
Marcel
Hi,
I have some very strange problem on the Mac (OS-X) with the Safari
browser 1.0 (v85). Some information in my form was not filled in...
after I turned on debugging and checked the console it displayed some
error messages.
The messages displayed were like:
(event handler): value undefined (result of expression trim) is not
object. Cannot be called.
I have no idea what this means!!! Does anyone know where to find the
solution for this problem? The page works fine on Windows with IE (and
probably some more browsers).
The trim function is located in an exteral javascript file which is
referenced in the head of the html.
<html>
<head>
<script language="JavaScript" type="text/javascript"
src="/dir/general.js"></script>
</head>
<body>
<script language="JavaScript">
<!--
if (trim("just a text") == "")
alert("It is emtpy!");
//-->
</script>
</body>
</html>
The trim method does nothing special and returns given string without
leading or trailing whitespaces.
I really don't know where to look for an answer to the problem.....
Any help would really be appreciated!
-- Marcel
I have some very strange problem on the Mac (OS-X) with the Safari
browser 1.0 (v85). Some information in my form was not filled in...
after I turned on debugging and checked the console it displayed some
error messages.
The messages displayed were like:
(event handler): value undefined (result of expression trim) is not
object. Cannot be called.
I have no idea what this means!!! Does anyone know where to find the
solution for this problem? The page works fine on Windows with IE (and
probably some more browsers).
The trim function is located in an exteral javascript file which is
referenced in the head of the html.
<html>
<head>
<script language="JavaScript" type="text/javascript"
src="/dir/general.js"></script>
</head>
<body>
<script language="JavaScript">
<!--
if (trim("just a text") == "")
alert("It is emtpy!");
//-->
</script>
</body>
</html>
The trim method does nothing special and returns given string without
leading or trailing whitespaces.
I really don't know where to look for an answer to the problem.....
Any help would really be appreciated!
-- Marcel