Find the answer to your Linux question:
Results 1 to 2 of 2
hi can we setup hidden values to textbox? like options for select? thanks...
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    32

    hidden values to a textbox?

    hi
    can we setup hidden values to textbox?

    like options for select?

    thanks

  2. #2
    Linux User
    Join Date
    May 2008
    Location
    NYC, moved from KS & MO
    Posts
    251
    I am not sure about your intention of wanting to do this. One of my guesses is that you want to keep track of something that happens to the the text field --- for example, how many times a text field has been clicked. Or maybe you want to store additional information about the text field. Anyway you can wrap it up like this

    Code:
    <input type="hidden" id="id-counter" name="counter" value=0>
        <input type="text" id="id-datafield" name="datafield" value=""></input>
    </input>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...