Closed Bug 11723 Opened 25 years ago Closed 25 years ago

Javascript not updating the value of button labels correctly

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: tague, Assigned: vidur)

Details

(Keywords: testcase, Whiteboard: [TESTCASE] button text not updateable via JavaScript)

Attachments

(2 files)

Javascript is not correctly updating the value of a button from a string that is
provided by a xpconnected component in my scriptablity test file
(http://warp/employees/tague/tests/nsLocaleTest.html).

build: 1999081108
OS: Mac, Windows NT 4.0 (haven't checked linux)
steps to reproduce:
(1) load http://warp/employees/tague/tests/nsLocaleTest.html
(2) click on "Get Application Locale" button
  ---> notice that console dumps the return value from GetApplicationLocale
  ---> button label doesn't change
(3) click on "Get System Locale" button
  ---> notice that console dumps the return value from GetApplicationLocale
  ---> button label doesn't change
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 1
QA Contact: cbegle → gerardok
wrong component
Whiteboard: [TESTCASE] button text not updateable via JavaScript
I don't have access to the original document referenced, but here's what seems
to be a much simpler test case. On the Win98 19990814 build, the button does not
update when clicked.
Correct me if I'm wrong.  Shouldn't there me an OnClick() event on the FORM??
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Seems to work now. Attaching working test case (Micah's didn't have an onclick 
handler). 
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Attached file working test case
Mass update of qa contact
QA Contact: gerardok → janc
Verified
2001-01-19-12-Mtrunk
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: