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


Groups > pl.comp.lang.javascript > #3401

Re: Argument funkcji

X-Received by 10.107.173.35 with SMTP id w35mr2267865ioe.8.1519218782632; Wed, 21 Feb 2018 05:13:02 -0800 (PST)
X-Received by 10.157.22.195 with SMTP id s3mr160585ots.13.1519218782318; Wed, 21 Feb 2018 05:13:02 -0800 (PST)
Path csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!w142no222357ita.0!news-out.google.com!s63ni755itb.0!nntp.google.com!o66no220715ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups pl.comp.lang.javascript
Date Wed, 21 Feb 2018 05:13:02 -0800 (PST)
In-Reply-To <5a8d1d93$0$674$65785112@news.neostrada.pl>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=217.99.107.33; posting-account=8ND_mgoAAAD5J9y9fnaTB1Kcu7xKWk7Q
NNTP-Posting-Host 217.99.107.33
References <5a8d1d93$0$674$65785112@news.neostrada.pl>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <c98e92e7-639e-4c69-9dcd-a5216d8ba464@googlegroups.com> (permalink)
Subject Re: Argument funkcji
From zpksoft <zpksoft@op.pl>
Injection-Date Wed, 21 Feb 2018 13:13:02 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 35
Xref csiph.com pl.comp.lang.javascript:3401

Show key headers only | View raw


W dniu środa, 21 lutego 2018 08:19:50 UTC+1 użytkownik kons...@wp.pl napisał:
> Jest sobie funkcja
> var set_hist_back_html = function ( tekst ) {
>      document.getElementById("hist_back").innerHTML = tekst;
>    };
> 
> 
> następnie w jednym z div jest takie coś
> 
> <input type="image" src="png/if_edit-user_46799.png"
>    onclick=
>    "
>     set_hist_back_html('<input type="image" src="png/if_back.png" 
> onclick="zaladuj_main_body(\'listakontrahentow.php?ID=1\');"  title="Do 
> tyłu"   alt="Do tyłu"> </td>');
> 
> 
>    "       title="Edytuj dane kontrahenta." alt="lista">
> 
> 
> Pytanie jak prawidłowo wpisać tekst
> '<input type="image" src="png/if_back.png" 
> onclick="zaladuj_main_body(\'listakontrahentow.php?ID=1\');"  title="Do 
> tyłu"   alt="Do tyłu"> </td>'
> 
> Jako argument funkcji set_hist_back_html

Napisałem na szybko, nie zapomnij wyłączyć znaki specjalne jak apostrofy wewnątrz łańcucha:

https://4programmers.net/JavaScript/Obiekty/String

Paweł

Back to pl.comp.lang.javascript | Previous | NextPrevious in thread | Find similar


Thread

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