XHTML Strict does not allow name attribute on forms, but we are using them for focus selection.
Solution:
* remove the name (or replace it with id)
* use id of element for focus - needs fixing JS focus code and all places that use it
Description
XHTML Strict does not allow name attribute on forms, but we are using them for focus selection.
Solution:
* remove the name (or replace it with id)
* use id of element for focus - needs fixing JS focus code and all places that use it
Petr Skoda committed 5 files to 'Moodle CVS' - 04/Jan/07 05:35 AM
MDL-8062 chat, login page and messaging - removed name attribute from some <form>s and fixed focus; changed set_focus() JS to accept element ID == the $focus parameter in print_header() + other minor Strict XHTML fixes