F
Fredrik Elestedt
Hi,
I've been trying to get a ASP.NET site I'm working on validated as HTML 4.01
Transitional but I've run into a couple of problems - actually the only ones
left before the page is validated...
1: the ID tags on serverside controls start with a char which is not allowed
(in this case '_'), example is a Label:
<span id="_ctl0_labDate">
2: postback buttons (inputs with type submit) gets a language parameter
defined which is not allowed in transitional:
<input name="_ctl0:btnAddPreDefined" value="Lägg till" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="_ctl0_btnAddPreDefined" type="submit">
I've been trying to get a ASP.NET site I'm working on validated as HTML 4.01
Transitional but I've run into a couple of problems - actually the only ones
left before the page is validated...
1: the ID tags on serverside controls start with a char which is not allowed
(in this case '_'), example is a Label:
<span id="_ctl0_labDate">
2: postback buttons (inputs with type submit) gets a language parameter
defined which is not allowed in transitional:
<input name="_ctl0:btnAddPreDefined" value="Lägg till" onclick="if
(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); "
language="javascript" id="_ctl0_btnAddPreDefined" type="submit">