<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>grazie<br>
      jusi<br>
    </p>
    <br>
    <div class="moz-cite-prefix">Il 12/09/2016 10:01, Nicola Scendoni ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAOffQzYP4xW9Kdu+htzrdzyf+ha_PrZCZzz=X9YXjDyr6a=U_A@mail.gmail.com"
      type="cite">
      <div dir="ltr">Ciao Jusi,
        <div><br>
        </div>
        <div>Se devi passare una variabile da javascript a php, il
          metodo "tradizionale" consiste nel popolare qualche input
          field hidden e fare submit della form.</div>
        <div><br>
        </div>
        <div>Nel tuo caso credo che neanche ti serva. Basta che
          all'evento onSubmit esegui il javascript che continua e fa
          submit solo se l'utente ha confermato di voler proseguire.</div>
        <div><br>
        </div>
        <div>Naturalmente pero' se vuoi una applicazione piu' elegante
          devi utilizzare un framework come jquery ed utilizzare
          chiamate rest.</div>
        <div><br>
        </div>
        <div>Saluti</div>
        <div><br>
        </div>
        <div>Nicola</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">Il giorno 11 settembre 2016 23:39, Jusi
          Pomenti <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>></span>
          ha scritto:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">scusa,tu 
            dici alert cioè confirm     in javascript e  ci
            sono.Poi,pero',devo chiamare il javascript da php
            e,chiaramente,riconoscere, la variabile javascript da 
            php;come faccio?<br>
            <br>
            Ciao
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                <br>
                Il 11/09/2016 21:59, Roberto Polli ha scritto:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Ciao Jusi,<br>
                  <br>
                  <br>
                  <br>
                  Il 11 settembre 2016 19:39, Jusi Pomenti <<a
                    moz-do-not-send="true"
                    href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>>
                  ha scritto:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    in uno script php,ho  l'esigenza  di chiedere
                    conferma prima di effettuare<br>
                    una determinata operazione;<br>
                  </blockquote>
                  Le ipotesi:<br>
                  <br>
                     1-  usi un alert o canvas in javascript<br>
                     2- crei una pagina intermedia in php dove chiedere
                  conferma delle<br>
                  operazioni: in questo caso devi passarti però i dati
                  del form tra le<br>
                  due pagine.<br>
                  <br>
                  L'ultima volta che ho visto il 2 erano gli anni 90 ;)<br>
                  <br>
                  Pax,<br>
                  R:<br>
                  <br>
                  esiste qualche comando apposta?<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Ciao e grazie<br>
                    <br>
                    --<br>
                    ------------------------------<wbr>-<br>
                    Junior Silvestro Pomenti<br>
                    Latina<br>
                    Email: jusipom(at)<a moz-do-not-send="true"
                      href="http://gmail.com" rel="noreferrer"
                      target="_blank">gmail.com</a><br>
                    ------------------------------<wbr>-<br>
                    <br>
                    ______________________________<wbr>_________________<br>
                    <a moz-do-not-send="true" href="http://www.llg.it"
                      rel="noreferrer" target="_blank">http://www.llg.it</a><br>
                    latina mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:latina@lists.linux.it"
                      target="_blank">latina@lists.linux.it</a><br>
                    <a moz-do-not-send="true"
                      href="https://lists.linux.it/listinfo/latina"
                      rel="noreferrer" target="_blank">https://lists.linux.it/listinf<wbr>o/latina</a><br>
                  </blockquote>
                  ______________________________<wbr>_________________<br>
                  <a moz-do-not-send="true" href="http://www.llg.it"
                    rel="noreferrer" target="_blank">http://www.llg.it</a><br>
                  latina mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
                  <a moz-do-not-send="true"
                    href="https://lists.linux.it/listinfo/latina"
                    rel="noreferrer" target="_blank">https://lists.linux.it/listinf<wbr>o/latina</a><br>
                </blockquote>
                <br>
                -- <br>
                ------------------------------<wbr>-<br>
                Junior Silvestro Pomenti<br>
                Latina<br>
                Email: jusipom(at)<a moz-do-not-send="true"
                  href="http://gmail.com" rel="noreferrer"
                  target="_blank">gmail.com</a><br>
                ------------------------------<wbr>-<br>
                <br>
                ______________________________<wbr>_________________<br>
                <a moz-do-not-send="true" href="http://www.llg.it"
                  rel="noreferrer" target="_blank">http://www.llg.it</a><br>
                latina mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.linux.it/listinfo/latina"
                  rel="noreferrer" target="_blank">https://lists.linux.it/listinf<wbr>o/latina</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.llg.it">http://www.llg.it</a>
latina mailing list
<a class="moz-txt-link-abbreviated" href="mailto:latina@lists.linux.it">latina@lists.linux.it</a>
<a class="moz-txt-link-freetext" href="https://lists.linux.it/listinfo/latina">https://lists.linux.it/listinfo/latina</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina
Email: jusipom(at)gmail.com
-------------------------------</pre>
  </body>
</html>