Subj : Re: javascript:reply('37004') does not work To : netscape.public.mozilla.jseng From : Bob Clary Date : Sat Mar 05 2005 07:43 am Leon wrote: > Why javascript:reply('37004') does not work nor in Mozilla 1.7.5, nor > in Firefox 1.0.1? > > I have MS Windows XP Pro SP2 on my PC. Internet Explorer works just > fine when I click javascript:reply('37004'), Opera 8.00 build 7401 too. > But Mozilla and Firefox does not respond to this click at all. > > URL is http://www.skisport.ru/forum/view.php?subj=36417 Notice in the javascript console Error: missing ( before formal parameters Source File: http://www.skisport.ru/forum/view.php?subj=36417 Line: 204, Column: 9 Source Code: function goto(where) { Error: reply is not defined Source File: javascript:reply('36814') Line: 1 they have a script block which contains a function named goto. goto is a reserved identifier and can not be used as a function name. This error causes the rest of the script to fail to compile. Change the function name from goto to something else and it will work. .