Can ID be used server-side in ASP?

D

dw

Hello. I'm developing an ASP app and trying to make it XHTML strict. This
requires the removal of all "name" attributes from form elements. Can form
elements be read server-side in ASP with only an "id" attribute? Thanks.
 
B

Bob Barrows [MVP]

dw said:
Hello. I'm developing an ASP app and trying to make it XHTML strict.
This requires the removal of all "name" attributes from form
elements. Can form elements be read server-side in ASP with only an
"id" attribute? Thanks.

No.
From the XHTML spec, the name attribute is only being deprecated for these
elements:
" ... a, applet, form, frame, iframe, img, and map ..."

None of these elements have values which would normally need to be read in
server-side form processing.

Bob Barrows
 
D

dw

Thanks, Bob. I thought all "name" attributes were being done away with in
XHTML. Thanks for the clarification :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,159
Messages
2,570,886
Members
47,419
Latest member
ArturoBres

Latest Threads

Top