Reply to Re: post of fetched value fails

Your name:

Reply:


Posted by usenet+2004 on 10/06/06 10:55

Erwin Moller:

> selected="selected" in nonsense.

"Full" attribute specifications are valid in both HTML and XHTML.
XHTML actually requires them, since attribute minimisation is not
allowed. I don't know how seriously you should take the somewhat dated
claim that 'many user agents only recognize the minimized form of
boolean attributes and not the full form' (HTML4.01, sec. B.3.4).

The problem is that the attribute value isn't quoted:

| echo "<option value=$nt[customer]>$nt[customer]</option>\n";}

In HTML only Name characters (i.e., [a-zA-Z0-9._:-]) can occur
unquoted, and in XHTML all attribute values must be quoted. Browser
error recovery probably means the first Name token is taken as the
value, so anything after the first non-Name character is ignored.

--
Jock

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация