Re: logic and disabling onclicks?
- From: Dr J R Stockton <jrs@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 Apr 2008 18:10:34 +0100
In comp.lang.javascript message <bmnk04t860fbm2aedho60e43qrnfco2ic7@4ax.
com>, Sat, 19 Apr 2008 22:09:45, Geoff Cox <gcox@xxxxxxxxxxxxx> posted:
On Sat, 19 Apr 2008 14:35:51 +0100, Dr J R Stockton
<jrs@xxxxxxxxxxxxxxxxxx> wrote:
My great sainted ..........
I should have written
for (J=0;J<Next.length;++J){
F["B"+Next[J]].disabled = false;
}
DoSpecificTask[State](F);
This is not correct and comes up with "Next has no properties" on
answering the 4th question.
What would be the correct "vanilla" type iteration to replace your
following code?
for (J in Next) F["B"+Next[J]].disabled = false
DoSpecificTask[State](F)
You said, I think, that you have no such problem until you use
prototype.js; therefore, you should ask someone who knows that
prototype.js.
A Wikipedia search for prototype.js offers an amusing diversity of
articles.
--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 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)
.
- Follow-Ups:
- Re: logic and disabling onclicks?
- From: Geoff Cox
- Re: logic and disabling onclicks?
- References:
- logic and disabling onclicks?
- From: Geoff Cox
- Re: logic and disabling onclicks?
- From: Geoff Cox
- Re: logic and disabling onclicks?
- From: Dr J R Stockton
- Re: logic and disabling onclicks?
- From: Geoff Cox
- Re: logic and disabling onclicks?
- From: Dr J R Stockton
- Re: logic and disabling onclicks?
- From: Geoff Cox
- Re: logic and disabling onclicks?
- From: Dr J R Stockton
- Re: logic and disabling onclicks?
- From: Geoff Cox
- logic and disabling onclicks?
- Prev by Date: Re: Using JavaScript to Customize Mouse Pointer Graphic??
- Next by Date: Re: Using JavaScript to Customize Mouse Pointer Graphic??
- Previous by thread: Re: logic and disabling onclicks?
- Next by thread: Re: logic and disabling onclicks?
- Index(es):
Relevant Pages
|