Closed Bug 11710 Opened 27 years ago Closed 27 years ago

javascript functions are not seen in xml docs

Categories

(Core :: XML, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 11483

People

(Reporter: phillip, Assigned: nisheeth_mozilla)

Details

Overview Description: [not sure if this is xml parser or javascript, or what...] if you include a javascript source file in an xml file, it's contents are no longer visible to the document. so a function foo in foo.js that would normally be called like <html:button onclick="foo(1);"> will be ignored, with the error "JavaScript error: foo is not defined." Steps to Reproduce: 1) load the url in apprunner, pick your platform 2) click the 'Toggle Style' button Actual Results: The console reports, 'JavaScript error: initiateToggle is not defined." and nothing else happens. Expected Results: The style should be changed. This affects other xml pages too. Somehow, the javascript functions are not being exposed to the xml document. Occurs on Apprunner, using Build Date & Platform: 1999-08-11-01 RedHat Linux 6.0 (GNOME/enlightenment) 1999-08-11-08 WinNT 4.0 sp5 1999-08-11-08 MacOS 8.51
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 11483 ***
Status: RESOLVED → VERIFIED
bummer, marking verified
You need to log in before you can comment on or make changes to this bug.