Thursday, July 31st, 2008

Dynamic Text Boxes

HTML doesn’t contain a single element combo box. To get the equivalent of a combo box in a web page you need to somehow combine a drop down list and an input field.

One way to do this is to provide an extra option in the drop down list that will make a separate input field appear so that values not in the list of the most common choices can be entered there. This means that it will not look much like a combo box but will at least work like on provided that your visitor has JavaScript enabled.

Dynamic Text Boxes

Share and Enjoy:
  • Digg
  • del.icio.us
  • Furl
  • description
  • StumbleUpon

Tags: , , ,

Leave a Reply