Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #10270
| 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-15 22:35 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <jevdaf$qvh$1@dont-email.me> (permalink) |
| References | <055f38d5-d99f-48ca-a14b-09867f95e9f4@iu7g2000pbc.googlegroups.com> <jerap3$u9p$1@dont-email.me> <5f0b2f5c-356b-4669-8bc1-637e15fcb5f6@g4g2000pbi.googlegroups.com> |
2012-01-15 21:27, JRough wrote: > I put an example on janisrough.dyndns.biz/tracking.html. Sorry, it does make much sense. What is it supposed to submit to, and why is the JavaScript code as text content there? It's not even obvious why you have two submit buttons in a <form> element that is not closed anywhere. Why not two separate forms, each with fields and submit buttons of their own? Then you would not need to worry about detecting client-side which button was clicked on. -- 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