Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    Più di un valore ad un campo

    Ciao.

    è possibile dare più di un valore ad un campo di un form?
    es:
    <select name='blabla'>
    <option value='1' value2 = 'A' >Opzione1</option>
    </select>

    è possibile fare una cosa del genere? thx..
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  2. #2
    no, non è possibile.
    al massimo puoi fare così:

    codice:
    <option value='valore1|valore2|valoren'>
    ciao

  3. #3
    Originariamente inviato da var
    no, non è possibile.
    al massimo puoi fare così:

    codice:
    <option value='valore1|valore2|valoren'>
    ciao
    e come li reucpero poi questi valori?
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  4. #4
    Originariamente inviato da Manuelandro
    e come li reucpero poi questi valori?
    esegui uno split sul value, utilizzando "|" come separatore: ottieni un array che contiene i singoli valori.

    ciao

  5. #5
    Originariamente inviato da var
    esegui uno split sul value, utilizzando "|" come separatore: ottieni un array che contiene i singoli valori.

    ciao

    VVoVe:
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  6. #6
    Originariamente inviato da Manuelandro
    VVoVe:
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

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 © 2024 vBulletin Solutions, Inc. All rights reserved.