Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it L'avatar di indre
    Registrato dal
    Jan 2002
    Messaggi
    2,735

    textarea e radio button

    Ciao a tutti..
    ne sono pochissimo di javascript..
    mi hanno detto di fare un pulsante radio e una textarea..
    se clicco checco il radio la textarea mi si deve pulire..
    come devo fare?
    When I was young I used to pray for a bike. Then I realized that God doesn't work that way. So I stole a bike and prayed for forgiveness.

  2. #2
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    667
    Questo...

    <form name="prova">
    <textarea name="testo">dfgdfhgdgdgdf</textarea>
    <input type="checkbox" onClick="if(confirm('Sicuro di cancellare il testo ?')){document.prova.testo.value=''}else{this.check ed=false}">
    <input type="button" value="Cancella" onClick="if(confirm('Sicuro di cancellare il testo ?')){document.prova.testo.value=''}">
    </form>


    Ciao David

  3. #3
    Utente di HTML.it L'avatar di indre
    Registrato dal
    Jan 2002
    Messaggi
    2,735

    re

    provo..
    grazie
    When I was young I used to pray for a bike. Then I realized that God doesn't work that way. So I stole a bike and prayed for forgiveness.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.