annuncio

Comprimi
Ancora nessun annuncio.

[Javascript] Domanda semplice semplice

Comprimi
X
 
  • Filtro
  • Ora
  • Visualizza
Elimina tutto
nuovi messaggi

  • [Javascript] Domanda semplice semplice

    Ciao a tutti.

    Data la mia assoluta niubbaggine in javascript (uso praticamente solo php a livello di script) vi faccio questa domandina semplice semplice.

    C'è un modo per mettere le funzioni "alert" e, in caso di "ok", far partire un'altra funzione ("location.href") sullo stesso evento onclick?

    Della serie:
    pigio bottone --> sei sicuro?
    -->si --> chiude alert e apre nuova pagina
    |
    -->no --> chiude alert e basta


    O mi devo fare una paginetta popup con due bottoni ?

    Spero di essermi spiegato
    The chain remains, the gang is intact
    The name is mine, I'll take blame for that
    The pressure's on, but guess who ain't gonna crack?
    Ha ha, pardon me, I had to laugh at that
    How could you falter when you're the Rock of Gibraltar?
    I had to get off the boat so I could walk on water
    This ain't no tall order, this is nothin' to me
    Difficult takes a day, impossible takes a week
    I do this in my sleep
    I sold kilos of coke, I'm guessin' I can sell CD's
    I'm not a businessman; I'm a business, man!
    Let me handle my business, damn

  • #2
    Sì, ma devi usare la funzione confirm, non alert.
    Who is Kaiser Souze? He is supposed to be Turkish. Some say his father was German. Nobody believed he was real. Nobody ever saw him or knew anybody that ever worked directly for him, but to hear Kobayashi tell it, anybody could have worked for Souze. You never knew. That was his power. The greatest trick the Devil ever pulled was convincing the world he didn't exist. And like that, poof. He's gone.

    Commenta


    • #3
      Originariamente inviato da Kaisersouze Visualizza il messaggio
      Sì, ma devi usare la funzione confirm, non alert.
      Tnx, vi dico come è andata a finire appena provo
      The chain remains, the gang is intact
      The name is mine, I'll take blame for that
      The pressure's on, but guess who ain't gonna crack?
      Ha ha, pardon me, I had to laugh at that
      How could you falter when you're the Rock of Gibraltar?
      I had to get off the boat so I could walk on water
      This ain't no tall order, this is nothin' to me
      Difficult takes a day, impossible takes a week
      I do this in my sleep
      I sold kilos of coke, I'm guessin' I can sell CD's
      I'm not a businessman; I'm a business, man!
      Let me handle my business, damn

      Commenta

      Sto operando...
      X