Re: Proper coding? (JS newbie)
- From: Dr J R Stockton <jrs@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Sep 2007 14:29:22 +0100
In microsoft.public.scripting.jscript message <46e33ae8$0$24581$ecde5a14
@news.coretel.net>, Sat, 8 Sep 2007 20:12:45, Paul E. Schoen
<pstech@xxxxxxxxx> posted:
"Dr J R Stockton" <jrs@xxxxxxxxxxxxxxxxxx> wrote in message
news:yx8ugQb$Vy4GFwmo@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I might be adding more types, and possibly also breeds, where there may be
a large number of choices. Is there a way to make a combo-box, where the
applicant may enter an unlisted type or breed?
I don't recall any.
But one can surely have a drop-down list including "* Another * ",
where selecting that un-hides a box to type the name into. But it's not
clear how you could use an unrecognised name, except by reference to a
human. Code could charge extra for "Rottweiler"; but how about
"Rotveiller"? I suspect that many of the owners of nasty dogs are not
good at spelling.
I'm not sure how deeply I will delve into
JavaScript, as it gets confusing when I am writing in several languages.
It's always worth looking for repetitive code that could be made into a
subroutine ... but not always worth making that change.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Delphi 3? Turnpike 6.05
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.bancoems.com/CompLangPascalDelphiMisc-MiniFAQ.htm> clpdmFAQ;
<URL:http://www.borland.com/newsgroups/guide.html> news:borland.* Guidelines
.
- Follow-Ups:
- Re: Proper coding? (JS newbie)
- From: Randy Webb
- Re: Proper coding? (JS newbie)
- References:
- Proper coding? (JS newbie)
- From: Paul E. Schoen
- Re: Proper coding? (JS newbie)
- From: Randy Webb
- Re: Proper coding? (JS newbie)
- From: Paul E. Schoen
- Re: Proper coding? (JS newbie)
- From: \(O\)enone
- Re: Proper coding? (JS newbie)
- From: Paul E. Schoen
- Re: Proper coding? (JS newbie)
- From: Dr J R Stockton
- Re: Proper coding? (JS newbie)
- From: Paul E. Schoen
- Re: Proper coding? (JS newbie)
- From: Dr J R Stockton
- Re: Proper coding? (JS newbie)
- From: Paul E. Schoen
- Proper coding? (JS newbie)
- Prev by Date: Re: Proper coding? (JS newbie)
- Next by Date: Re: Proper coding? (JS newbie)
- Previous by thread: Re: Proper coding? (JS newbie)
- Next by thread: Re: Proper coding? (JS newbie)
- Index(es):
Loading