Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #8401
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Arno Welzel <usenet@arnowelzel.de> |
| Newsgroups | comp.lang.php |
| Subject | Re: On click button in php |
| Date | Tue, 19 Feb 2013 11:51:37 +0100 |
| Organization | A noiseless patient Spider |
| Lines | 39 |
| Message-ID | <51235939.60503@arnowelzel.de> (permalink) |
| References | <3e8c6516-17c4-4a29-9f9f-ace88c524074@googlegroups.com> <51208C68.2000406@arnowelzel.de> <2992787.JYnM0pljKP@PointedEars.de> <5123516D.5000302@arnowelzel.de> <1588617.Iiggtt3da6@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx05.eternal-september.org; posting-host="aa07ec5af18901f922d01f07faafdb7b"; logging-data="20985"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oXBrHzNgM+rop67PpctkTx3wFjGvDI2E=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
| In-Reply-To | <1588617.Iiggtt3da6@PointedEars.de> |
| Cancel-Lock | sha1:+IROIQRjhJI9Wm2fhNuFaKsObGc= |
| Xref | csiph.com comp.lang.php:8401 |
Show key headers only | View raw
Thomas 'PointedEars' Lahn, 2013-02-19 11:23: > Arno Welzel wrote: > >> Thomas 'PointedEars' Lahn, 2013-02-17 21:09: >>> Arno Welzel wrote: >>>> nag, 2013-02-16 03:15: >>>> [...] >>>>> <a href="#"><input type="button" onclick="<a href='details.php?$id=' >>>>>> </a>" value="submit" style="margin-left:4.0em;"></a> >> [...] >>>>> but when I click the button (the submit button) nothing is happening. >>>> Of course not. onClick is an event handler and you have to use >>>> JavaScript there. >>> “onclick” is an event-handler attribute (for the “click” event of the >>> DOM), and unless the HTML version is HTML5, one can use any scripting >>> language in its value. ECMAScript-based scripting languages like >>> JavaScript are best supported, though. >>> >>> See also: <http://PointedEars.de/es-matrix> >> >> Theoretically - yes. In the real world ECMAScript-based scripting >> languages like JavaScript are the only useful choice, since none of the >> current browsers except Internet Explorer support anything else out of >> the box. > > That is what I said. To make it more clear: ECMAScript-based languages like JavaScript are not only the "best supported" ones - they are the ONLY possibility in the real world and it does not matter if is theoretically possible to specify another language for the event-handler and if there is one(!) known browser to support VBScript instead of JScript. -- Arno Welzel http://arnowelzel.de http://de-rec-fahrrad.de
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
On click button in php nag <visitnag@gmail.com> - 2013-02-15 18:15 -0800
Re: On click button in php Jerry Stuckle <jstucklex@attglobal.net> - 2013-02-15 21:48 -0500
Re: On click button in php Jeff North <jnorthau@yahoo.com.au> - 2013-02-16 15:29 +1100
Re: On click button in php nag <visitnag@gmail.com> - 2013-02-16 05:20 -0800
Re: On click button in php Arno Welzel <usenet@arnowelzel.de> - 2013-02-17 08:53 +0100
Re: On click button in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-17 21:09 +0100
Re: On click button in php Arno Welzel <usenet@arnowelzel.de> - 2013-02-19 11:18 +0100
Re: On click button in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-19 11:23 +0100
Re: On click button in php Arno Welzel <usenet@arnowelzel.de> - 2013-02-19 11:51 +0100
Re: On click button in php Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-19 11:58 +0100
Re: On click button in php Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-02-19 12:07 +0000
Re: On click button in php Arno Welzel <usenet@arnowelzel.de> - 2013-02-20 11:00 +0100
Re: On click button in php The Natural Philosopher <tnp@invalid.invalid> - 2013-02-19 12:13 +0000
Re: On click button in php Arno Welzel <usenet@arnowelzel.de> - 2013-02-20 11:01 +0100
Re: On click button in php The Natural Philosopher <tnp@invalid.invalid> - 2013-02-20 13:48 +0000
csiph-web