JRS: In article <%Z*************@bignews2.bellsouth.net>, dated Fri, 14
Apr 2006 16:57:45 remote, seen in news:comp.lang.javascript, Hal Rosser
<hm******@bellsouth.net> posted :
you could change the background color to get the user's attention if she
leaves it blank:
<input
onchange="this.style.backgroundColor=(this.value= ='')?'yellow':'white';" />
IMHO, that could be in breach of disability access legislation, since
some who can manage ordinary text may not be able to discriminate
between white and yellow - particularly on a display where yellow is
feeble.
Reminds me of someone who used a yellow highlighter to mark, on a Xerox
copy of an A-Z page, a route through back streets. Unfortunately, those
streets had Sodium lights ...
Perhaps the best approach would be to use a simulated pop-up - a block
of the page itself which might normally be empty, but shows ostentatious
error messages at need.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)