bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

button to start javascript program has no visible effect. works in older NS.

RESOLVED INVALID

Status

Core Graveyard
Java to XPCOM Bridge
RESOLVED INVALID
16 years ago
4 years ago

People

(Reporter: Peter Hanely, Assigned: Igor Kushnirskiy)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.0) Gecko/20020530

form button in http://www.calweb.com/~hanelyp/morris/morris_game.html should
call javascript function when pressed.  No visable effect.
<input TYPE=BUTTON name="pass_start" value = "Start Game" onClick="youpass();">

checking javascript console, function referenced is reported as not found.

<a href="javascript:yourmove('spa1');">text</a> also has same problem.

Reproducible: Always

Steps to Reproduce:
1.load page
2.hit 'Start Game'
3.

Actual Results:  
javascript Error: youpass is not defined

Expected Results:  
function called

Comment 1

16 years ago
I confirm, win98 build 2002082109
There is an error earlier in the script:

Error: redeclaration of function Image
Source File: http://www.calweb.com/~hanelyp/morris/morris_game.html
Line: 10


Renaming this function will make it work...

--> INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID

Comment 3

16 years ago
Internet Explorer have the tendency to ignore the error and display whatever 
work.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.