Re: javascript error


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]

Posted by Jos Claerbout on July 19, 1999 at 14:23:28:

In Reply to: javascript error posted by Kiran Sreenivasamurthy on July 19, 1999 at 12:46:12:

Kiran -

Sometimes those errors are given erroneously. If you don't see it causing any trouble with the function of the page, then you can ignore the error message.

_jos

: HI

: Problem: using JavaScript i am trying to do a
: aritmetic comparision and i am getitng an error message
: here is the code
: <script Language="JavaScript">

: function hasWhiteSpace (s) {
: var i;
: for (var i=0;i<(s.length);i++) {
: var c = s.charAt(i);
: if (c == " " || c == "\t" || c == "\n" || c == "\r") {
: return true;
: }
: }
: return false;
: }
:
: The Error Message is
: [01] ERROR Unrecognized tag "<(S.LENGTH);I++)>"
: <(s.length);i++) {>

: Any Help regarding this is appreciated




Follow-ups:



Post a Follow-up

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:


[ Follow-ups ] [ Post Follow-up ] [ WWWBoard for WebTV Developers ]