• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

select Tag

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,..

Is it possible to make the first element of a Select tag as an Input field so that the user can type anything,.., something that might not be equal to any of the options present below??..
<select>
<option value=""> </option> // here is where a user types say - "test"
<option value="something"> </option>
<option value="something"> </option>
</select>

As far as HTML goes it is not possible, but don't know if there is any work around way

Appreciate your help..
Thanks
[ May 04, 2007: Message edited by: Bear Bibeault ]
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no way to really do it with HTML. You can use JavaScript to do something like it. Take a look at this: http://www.codingforums.com/showthread.php?s=&postid=156759

Eric
 
prasad agarwal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eric Pascarello,

wow,.. thanks a lot you always help me out in javascript...
I owe you a drink maybe... hehe...

Well, yeah i did buy your Ajax book..

Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic