On 15/02/2006 13:54, VK wrote:
Thomas 'PointedEars' Lahn wrote:
warning "deprecated `with' statement usage".
Deprecated in what version?
Thomas didn't say that it was deprecated in any particular version, did
he? No. It's /use/ is deprecated as it typically has little value and
does more to complicate code than improve it.
[snip]
The `onblur' event handler of the form control should not be used,
but the `onsubmit' event handler of the form.
Only in the most primitive case [...]
No, (almost) always. I would add that the change event should be used in
conjunction with the submit event, but the blur event should be avoided.
It inevitably leads to annoyance (or worse) when validation errors are
continually flagged.
This isn't new advice.
[snip]
Mike
--
Michael Winter
Prefix subject with [News] before replying by e-mail.