In reply to the mail from Patrick Bartek about [voyager] Re: Javascript:

I have made the change you suggest my code is now:

-- jsalert.html
<HTML>
<HEAD>
<TITLE>A Simple Javascript Example</TITLE>
</HEAD>

<BODY>
<H3>Alert example</H3><HR>
<FORM>
<INPUT TYPE="Button" NAME="MyButton" VALUE="Click Me" ONCLICK="DoIt()">
<SCRIPT LANGUAGE="JavaScript">
<!--
function DoIt() {
  alert('Click Away!');
  }
-- End -->
</SCRIPT>
</FORM>
</BODY>
</HTML>
-- End of file

Voyager 3 Pre2 still gives an error when reading the page, the
JSERROR.LOG:

PARSE ERROR
VERSION: 3.0.8 (22.8.99)
URL: file:///Work:InstantHTML/jsalert.html
LINE: 15
DESCRIPTION: parse error, expecting `TOKEN_SYMBOL' or `TOKEN_THIS'

What is wrong with the code now ?

-- 
http://www.nerds.co.uk            The place for computer enthusiasts
Andy Thomson                                                  _
High Wycombe, Bucks.                                         /_\
http://come.to/athomson                                     / | \

____________________________________________________________
Voyager Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to