Visualizzazione dei risultati da 1 a 6 su 6

Discussione: input txt

  1. #1

    input txt

    Come posso fare un controllo al click del bottone per assicurarmi che all'interno del campo di imput ci sia una lettera da me stabilita??!
    ad esempio la "@" in una mail?!!
    Grazie a tutti
    PIE Project
    Food 4 mind!

  2. #2
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    1,037
    usi mx o f5?

  3. #3
    uso MX
    PIE Project
    Food 4 mind!

  4. #4
    questa è una funzione fatta da sephiroth:

    function controllo_email(valore){
    nome1 = new Array();
    nome1 = valore.split('@')
    valore2 = nome1[1]
    if(nome1[2] == undefined){
    this.name = false
    valore2 = valore2.split('.')
    nome1[1] = valore2[0]
    nome1[2] = valore2[1]
    if(nome1[0] != undefined && nome1[1] != undefined && nome1[2] != undefined && nome1[0].length >0 && nome1[1].length >0 && nome1[2].length >1){
    this.name = true
    } else {
    this.name = false
    }
    } else {
    this.name = false
    }
    }



  5. #5
    :tongue: grazie
    PIE Project
    Food 4 mind!

  6. #6
    al mitologico seph, mica a me


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.