Is it the Site or Firebird

User Help for Mozilla Firefox

Post Posted November 18th, 2003, 1:31 am

Trying to use a website <a href=""></a> but when I try to use any of the buttons at the top I get a Javascript error. Here is the code from the Javascript Console.
Error: gotoPage is not defined
Source File: javascript:gotoPage('txt2pxt_about.jsp')
Line: 1
I have had a look at the source and see a Javascript file is referenced
<script language="JavaScript" src="javascript/submitForm.js"></script>

I opened the Javascript file and found the function gotoPage near the bottom.

<code>function gotoPage(page) {

var result = populateActionSubaction(page);

if (result == true) {

Is this a firebird issue or an HTML/Javascript issue. Before I forward details through to the website developers I thought I should check.



old momokatte
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted November 18th, 2003, 6:53 am

This is a JavaScript issue. 'goto' is a reserved word and cannot be used as the name of a JavaScript function.

From here:
Javascript shares a name-space with Java, the language it is derived from. So certain words are reserved, even though they may have no meaning in Javascript

boolean byte char const abstract class break case catch continue default do double else extends false final finally float for function goto if implements import in instanceof int interface long native new null package private protected public return short static super switch synchronized this throw throws transient true try var void while with


Post Posted November 18th, 2003, 11:18 pm

????? Keltic Kiwi ??????


Post Posted November 18th, 2003, 11:33 pm

Celtic as in Ireland, Scotland.

Kiwi as in New Zealand. The Kiwi is a bird native to New Zealand and is a national symbol, although not quite as majestic as the bald eagle. It is a small flightless bird with a very long pointy beak. Have a look at <a href=""></a> to see about the Kiwi.

Return to Firefox Support

Who is online

Users browsing this forum: LIMPET235 and 9 guests