> I get an error when HtmlSelect.setSelectedAttribute() triggers an
> onChange event handler that uses "this.form" syntax to pass a form
> object to the handler. I don't see the error when I access form
> elements in the handler using "document.myform" syntax.
Fixed. The problem was my misunderstanding of what object is currently
in scope during the onclick handling. Previously, the Window was always
in scope for the various handlers (onclick, onsubmit etc). I've changed
it so that the appropriate control is in scope instead.
--
Mike Bowler
Principal, Gargoyle Software Inc.
Voice: (416) 822-0973 | Email : mb...@Ga...
Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com
|