jwk811 Posted November 25, 2006 Share Posted November 25, 2006 i want to make a select box.. the ones with the down arrows at the end where you can choose from a bunch of options but i want the select to be optional and also have a place where text can be writtin in that box as well.. i know its possible because ive seen it somewhere but i forget where.. thanks for the help! Quote Link to comment Share on other sites More sharing options...
jcbarr Posted November 25, 2006 Share Posted November 25, 2006 Okay, do you want this select box to pull values from your database or is it going to be static? As far as being able to manually enter the value by typing text in to the box, I would check HTML pages for that, I don't believe that is going to be PHP based. Quote Link to comment Share on other sites More sharing options...
freeloader Posted November 25, 2006 Share Posted November 25, 2006 [code]<select name="options"><option value="1" selected="selected">Option 1</option> // shows as selected<option value="2">Option 2</option><option value="3">Option 3</option></select>[/code][code]<input name="email" type="text">[/code] Quote Link to comment Share on other sites More sharing options...
jwk811 Posted November 25, 2006 Author Share Posted November 25, 2006 im talking about something like the address bar in internet explorer.. something like that where you can type in a web address or select a previously viewed one.. Quote Link to comment Share on other sites More sharing options...
jwk811 Posted November 25, 2006 Author Share Posted November 25, 2006 anyone else who might know? Quote Link to comment Share on other sites More sharing options...
freeloader Posted November 25, 2006 Share Posted November 25, 2006 Read my previous post... Quote Link to comment Share on other sites More sharing options...
jwk811 Posted November 25, 2006 Author Share Posted November 25, 2006 thats just a select box and a text box separately that you're making right? i looking for it like a text box inside a select box Quote Link to comment Share on other sites More sharing options...
freeloader Posted November 25, 2006 Share Posted November 25, 2006 Not possible. Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted November 25, 2006 Share Posted November 25, 2006 It's called a combobox, if you check on Google there are some implementations of it in JavaScript. Quote Link to comment Share on other sites More sharing options...
jwk811 Posted November 25, 2006 Author Share Posted November 25, 2006 i couldnt find anything Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted November 25, 2006 Share Posted November 25, 2006 Here's one, works in most browsershttp://xaprb.com/blog/2005/09/29/javascript-combo-box/ Quote Link to comment Share on other sites More sharing options...
jwk811 Posted November 25, 2006 Author Share Posted November 25, 2006 that looks good but it has no code for how to make it. and would there be one with a textbox format like the cursor changes and you need to click in Quote Link to comment Share on other sites More sharing options...
brendandonhue Posted November 25, 2006 Share Posted November 25, 2006 There's a big button at the top that says download. And you can probably change the cursors with CSS. Quote Link to comment Share on other sites More sharing options...
marcus Posted November 25, 2006 Share Posted November 25, 2006 Just a question to all: is anybody else experiencing issues with making topics? 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.