Along the Learning Curve
First Example
Name attribute
Scenario:
- You are using JavaScript to process a form. The script calls for the form's name.
<form name="whatever" action="whatever"> - The name attribute is deprecated from the
<form>element, however. It will not validate as XHTML 1.0 strict. - You cannot adjust the script, because your skills are not developed enough yet.
- What should you do?
- You are using JavaScript to process a form. The script calls for the form's name.