does this way to start a function not work with NS?

Giganews Newsgroups
Subject: does this way to start a function not work with NS?
Posted by:  Dave (…@dsfg.vb)
Date: Thu, 4 Sep 2003

Hi,

This way to start a function works with IE; why doesn't it work with NS (7).

<input type="button" id="test">
<script>
function test.onclick()
{
....
}
</script>

thanks
dave

Replies