W3C home > Mailing lists > Public > public-html@w3.org > March 2011

[Bug 12257] New: Fix onchange example just before 4.3.1.1

From: <bugzilla@jessica.w3.org>
Date: Sun, 06 Mar 2011 19:03:27 +0000
To: public-html@w3.org
Message-ID: <bug-12257-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12257

           Summary: Fix onchange example just before 4.3.1.1
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, simonp@opera.com


As mentioned by Simon Pieters in the WHATWG mailing list, the example just
before 4.3.1.1 doesn't work because in |onchange="calculate(form)"|, |form| is
null. This should be changed to
|onchange="calculate(document.forms.pricecalce)"| or the change handler should
be moved to the fieldset element (where this.form isn't null).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Sunday, 6 March 2011 19:03:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:25 GMT