anotherJEK
08-21-2010, 04:08 AM
Hi, I have been attempting to transition to use of xhtml strict doctype and
my text editor, BBEdit (on Mac) tells me, when I ask it to check syntax,
that the attribute 'name' is not allowed in form object, as in any other
form element that I tried to use it in. This begs the question, how do
I script forms with javascript in the context of this doctype? None of
the javascript texts I have address this issue (O'Reilly Rhino book and
others).
I could figure it out, but it appears to be a complicated process, just
doing getElementById() and sorting it out.
Does anyone have a reference to material that deals with this issue?
Or do I just abandon xhtml strict doctypes?
Thanks for time and attention
JK
my text editor, BBEdit (on Mac) tells me, when I ask it to check syntax,
that the attribute 'name' is not allowed in form object, as in any other
form element that I tried to use it in. This begs the question, how do
I script forms with javascript in the context of this doctype? None of
the javascript texts I have address this issue (O'Reilly Rhino book and
others).
I could figure it out, but it appears to be a complicated process, just
doing getElementById() and sorting it out.
Does anyone have a reference to material that deals with this issue?
Or do I just abandon xhtml strict doctypes?
Thanks for time and attention
JK