Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #10224
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: determine which submit input is clicked, get syntax error |
| Date | Sat, 14 Jan 2012 09:27:35 +0200 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <jerap3$u9p$1@dont-email.me> (permalink) |
| References | <055f38d5-d99f-48ca-a14b-09867f95e9f4@iu7g2000pbc.googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Sat, 14 Jan 2012 07:27:31 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="ngroV0xYIIv0dzjhyZhv5A"; logging-data="31033"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/lQo9XyUSiU6TJNCD0S2eK" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 |
| In-Reply-To | <055f38d5-d99f-48ca-a14b-09867f95e9f4@iu7g2000pbc.googlegroups.com> |
| X-Antivirus-Status | Clean |
| X-Antivirus | avast! (VPS 120113-1, 13.01.2012), Outbound message |
| Cancel-Lock | sha1:vGrnqwEoiDzLmLifSRLzmiDSII4= |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:10224 |
Show key headers only | View raw
2012-01-14 3:32, css-discuss.org wrote:
> I have a question about the submit inputs.
How about posting a URL? It's rather awkward to try to debug code that
has been munged by your Usenet posting software (lines broken etc.) and
that does not constitute a full document.
> I get a syntax error on
> the asterisks.
> Firebug says "illegal character " at the end of the else if line.
How about fixing the error then?
> }else if (btnClicked.value=='Search') { ******stops here before
You don't think that proper JavaScript code, do you?
P.S. In your sender information on Usenet, it's not wise to use a fake
name that coincides with the name of a reputable discussion list.
--
Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
determine which submit input is clicked, get syntax error "css-discuss.org" <janis.rough@gmail.com> - 2012-01-13 17:32 -0800
Re: determine which submit input is clicked, get syntax error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-01-14 09:27 +0200
Re: determine which submit input is clicked, get syntax error JRough <janis.rough@gmail.com> - 2012-01-15 11:27 -0800
Re: determine which submit input is clicked, get syntax error "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-01-15 22:35 +0200
Re: determine which submit input is clicked, get syntax error JRough <janis.rough@gmail.com> - 2012-01-15 14:13 -0800
Re: determine which submit input is clicked, get syntax error JRough <janis.rough@gmail.com> - 2012-01-15 14:17 -0800
Re: determine which submit input is clicked, get syntax error JRough <janis.rough@gmail.com> - 2012-01-15 15:01 -0800
csiph-web