Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #10224

Re: determine which submit input is clicked, get syntax error

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: determine which submit input is clicked, get syntax error
Date 2012-01-14 09:27 +0200
Organization A noiseless patient Spider
Message-ID <jerap3$u9p$1@dont-email.me> (permalink)
References <055f38d5-d99f-48ca-a14b-09867f95e9f4@iu7g2000pbc.googlegroups.com>

Show all headers | 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


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