Function being ignored in NN4

Giganews Newsgroups
Subject: Function being ignored in NN4
Posted by:  Stephen Poley (sbpol…@xs4all.nl)
Date: Wed, 02 Jul 2003

Apologies if this is a silly question, but Googling on the archive
didn't produce any answers.

I have a piece of inline Javascript which works as expected in IE 6,
Opera 7, Mozilla and NN 4. In the interests of keeping my pieces of
script together, I changed it into a function and called it thus:

<SCRIPT type="text/javascript">
  buttonbar();
</SCRIPT>

This works fine in IE, Opera and Mozilla, but NN 4 does not call the
function. Could anyone suggest why?

The page is validated HTML 4.01. (And before you ask: I do have a
corresponding <NOSCRIPT> element as well.)

--
Stephen Poley
Barendrecht, Holland

Replies