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)
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
Comment 2•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [TESTCASE] button text not updateable via JavaScript
Comment 3•25 years ago
|
||
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??
Assignee | ||
Comment 5•25 years ago
|
||
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Comment 6•25 years ago
|
||
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Assignee | ||
Comment 7•25 years ago
|
||
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
Assignee | ||
Comment 8•25 years ago
|
||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•