Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > pl.comp.lang.javascript > #3419
| Newsgroups | pl.comp.lang.javascript |
|---|---|
| Date | 2018-03-02 04:45 -0800 |
| References | (10 earlier) <d4de74d5-ae29-4205-acd7-096434f0e227@googlegroups.com> <11hsdnx36lvz3.sjxote5c1628.dlg@40tude.net> <f323afc1-4b40-449a-a09e-47e042286a28@googlegroups.com> <2762d7f6-99fd-4697-b267-dc1ce7a9fe24@googlegroups.com> <18glwbnoogv4i$.ob1q7xeh9yly$.dlg@40tude.net> |
| Message-ID | <3c1ede4e-1fb8-4574-9e6a-429e512643db@googlegroups.com> (permalink) |
| Subject | Re: Argument funkcji |
| From | zpksoft <zpksoft@op.pl> |
W dniu piątek, 2 marca 2018 12:42:57 UTC+1 użytkownik Borys Pogoreło napisał: > Dnia Fri, 2 Mar 2018 00:14:59 -0800 (PST), zpksoft napisał(a): > > > Właściwie to był zły przykład. Bo obiekt może pamiętać id aktywnego > > rekordu i na tej podstawie łatwo mu podać kolejny-poprzedni. Weźmy coś > > innego: user klika dowolny wiersz. Jak odczytujesz jego id? Po czym? > > Ale PO CO mi jego ID? To Ty się uparłeś, by wszystko miało swoje ID, bo > najwyraźniej nie potrafisz inaczej się odwołać do obiektu. A można to > zrobić na wiele sposobów, z których ID jest akurat najmniej praktyczny i z > reguły zupełnie zbędny. Lecz jeśli koniecznie go potrzebujesz, to wystarczy > sięgnąć do e.target.id / e.target.nextSibling.id. Wykręcasz się jak możesz. oczywiście że można na kilka sposobów identyfikować obiekt. Ale... jeśli go nie oznaczysz to również nie obsłużysz. Zarzuciłeś mi, że indeksowanie jest be a teraz piszesz o e.target.id. Generalnie miotasz się w swoich przeświadczeniach i widzimisiach które wytworzyłeś sobie pewnie przed laty i używasz po to żeby zarzucać innym niepoprawność myślową bo niezgodną z twoją. > > Polecam zapoznanie się z modelem DOM i hierarchią obiektów. Oraz z obsługą > zdarzeń. I generalnie z dokumentacją JavaScriptu, bo chyba tu leży problem. No, no. Problem leży gdzie indziej. Głównie w twoim przeświadczeniu że bez obcego "frameworku" nie da się programować. > > -- > Borys Pogoreło > borys(#)leszno,edu,pl Paweł
Back to pl.comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar
Argument funkcji "konsul41@wp.pl" <konsul41@wp.pl> - 2018-02-21 08:19 +0100
Re: Argument funkcji "konsul41@wp.pl" <konsul41@wp.pl> - 2018-02-21 09:28 +0100
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-02-21 10:52 +0100
Re: Argument funkcji "konsul41@wp.pl" <konsul41@wp.pl> - 2018-02-21 11:00 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-02-26 22:10 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-02-27 05:10 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-02-21 09:22 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-02-27 22:18 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-02-28 04:53 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-01 00:45 +0100
Re: Argument funkcji Adam M <amorawski@magna-power.com> - 2018-03-01 07:01 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-01 07:08 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-01 20:22 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-01 12:34 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-01 22:53 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-01 14:03 -0800
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-01 23:13 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-01 23:40 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-02 00:08 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-02 00:14 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-02 12:39 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-02 04:45 -0800
Re: Argument funkcji irq <ipluta62@gmail.com> - 2018-03-02 05:22 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-02 07:10 -0800
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 03:25 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 00:45 -0800
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 03:19 +0100
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-03-03 09:52 +0100
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-03 12:17 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 14:17 +0100
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-03 16:49 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 17:34 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 17:22 +0100
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-03 17:49 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 19:01 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 19:14 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 21:24 +0100
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-03 20:12 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 21:19 +0100
Re: Argument funkcji Wojciech Bancer <wojciech.bancer@gmail.com> - 2018-03-03 22:32 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 22:36 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 22:55 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-04 10:24 +0100
Re: Argument funkcji "PawelS pawel(at)wbcd(dot)pl" <fake@email.org> - 2018-03-09 16:51 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-02 21:10 +0100
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-03-03 00:19 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 01:04 -0800
Re: Argument funkcji ipluta62@gmail.com - 2018-03-03 01:14 -0800
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-03-03 12:05 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 13:44 +0100
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-03-03 12:04 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 04:40 -0800
Re: Argument funkcji Roman Tyczka <noemail@because.no> - 2018-03-03 14:47 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 06:13 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 00:58 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 14:10 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 06:25 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 16:34 +0100
Re: Argument funkcji Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2018-03-03 17:30 +0100
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 18:30 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 08:39 -0800
Re: Argument funkcji Borys Pogoreło <borys@pl.edu.leszno> - 2018-03-03 19:10 +0100
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-03-03 10:34 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-02-21 05:06 -0800
Re: Argument funkcji zpksoft <zpksoft@op.pl> - 2018-02-21 05:13 -0800
csiph-web