kYd Posted September 4, 2006 Share Posted September 4, 2006 How do I create an editable pulldown menu box? Basically so a user can select from the most common options [that i define] and if its not there they can just type in what they want. thanks Quote Link to comment Share on other sites More sharing options...
Rab Posted September 4, 2006 Share Posted September 4, 2006 you use the SELECT and OPTION tags, google it. Quote Link to comment Share on other sites More sharing options...
cooper Posted September 4, 2006 Share Posted September 4, 2006 Um, no, I don't think that's how it works. With SELECT and OPTION tags you define a list with predefined values. The missing part is the manual entry of an unlisted value. Unfortunately I also don't know how (or even if) this can be done with plain HTML, so I can't help you there. Quote Link to comment Share on other sites More sharing options...
Sammael Posted September 4, 2006 Share Posted September 4, 2006 I have a feeling this cant be done is straight html, your best bet would be to have an 'Other' option in a drop down box, combined with a text field next to it. If there is a way I would also like to know it. Quote Link to comment Share on other sites More sharing options...
cooper Posted September 4, 2006 Share Posted September 4, 2006 The thing is, you see a lot of Ajax-enabled sites that do this nowadays. You type something and a drop-down list gets shown underneath it with matching values, but I get the feeling they're using a list in a hovering div tag and some Javascript to transfer the value you select from the list into the textbox you were originally typing in. But that's a guess, really. Quote Link to comment Share on other sites More sharing options...
Sammael Posted September 4, 2006 Share Posted September 4, 2006 The sort of thing google does as you search for something you've searched before, would be good if this was possible in just javascript & html. The closest thing I can find (as I m not a very competent in javascript, so googled) is this. But it only allows one of the options to be edited and doesn't recognize if an input is the same as one on the list. Which if updating a database is important for linking tables etc. I think my big book of javascript is going to have to have the cobwebs brushed away tonight. Quote Link to comment Share on other sites More sharing options...
Rab Posted September 5, 2006 Share Posted September 5, 2006 its not worth the effort, use an "other" box. Quote Link to comment Share on other sites More sharing options...
kYd Posted September 5, 2006 Author Share Posted September 5, 2006 Ok thanks guys, it doesn't matter. Basically the only reason I want it is for my proxy, as I know alot of people use some common sites like myspace so I can have that in the list, but for those who don't they can just type in what they want. I'll just put some text links next to the URL form. Quote Link to comment Share on other sites More sharing options...
film Posted September 5, 2006 Share Posted September 5, 2006 Ok thanks guys, it doesn't matter. Basically the only reason I want it is for my proxy, as I know alot of people use some common sites like myspace so I can have that in the list, but for those who don't they can just type in what they want. I'll just put some text links next to the URL form.You make the proxy or did you get it from a site if you made it im sure you can make 'pulldown menu box' :S Quote Link to comment Share on other sites More sharing options...
proskater123 Posted September 6, 2006 Share Posted September 6, 2006 yes it is possible. The most easest way to do it is get a webpage maker, then insert the drop down box, the isert everyything you need into it. Then when your done view the html and copy and past. I also know the dreamworks does it. Quote Link to comment Share on other sites More sharing options...
kYd Posted September 6, 2006 Author Share Posted September 6, 2006 You make the proxy or did you get it from a site if you made it im sure you can make 'pulldown menu box' :S Nope lol I can't programme for $*** I'll have a dable in dreamweaver now prosk8r. I'll report back. Thanks Quote Link to comment Share on other sites More sharing options...
cooper Posted September 6, 2006 Share Posted September 6, 2006 yes it is possible. The most easest way to do it is get a webpage maker, then insert the drop down box, the isert everyything you need into it. Then when your done view the html and copy and past. I also know the dreamworks does it. Check out the 3rd post in this thread. Quote Link to comment Share on other sites More sharing options...
cooper Posted September 18, 2006 Share Posted September 18, 2006 Old thread. I know. BUT! Through chance I ran across a website that explains how a little bit of javascript and CSS can be used to create the requested ComboBox for the various browsers out there. http://www.tgreer.com/comboArticle.html So, now you know. :) Quote Link to comment Share on other sites More sharing options...
kYd Posted September 18, 2006 Author Share Posted September 18, 2006 Cheers Coopers, I'll check it out. I also found this website www.ajaxed.com which is ajax obviously and all that you do is make a list of enteries on the site and copy a few lines into your page, pretty simple. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.