[Webtest] RE: Javascript error?

Marc Guillemot webtest@lists.canoo.com
Wed, 24 May 2006 02:22:16 -0700 (PDT)


Trying following code:

<html><head>
    <title>Test page</title>
</head>
<body>

<Script for="body" language="JavaScript" event="onunload">
alert(123);
</Script>

</body>
</html> 

I don't get any error anymore (I had first tried with the script in the head
which produce an error)... but the script doesn't get executed either.
Therefore I think that the script isn't "wrong" but just useless. As such it
is not bad that webtest detects it ;-)

Marc.
--
View this message in context: http://www.nabble.com/Javascript+error--t1673052.html#a4538050
Sent from the WebTest forum at Nabble.com.