I've been trying to look for a solution to this but I can't seem to find the right results on google.
This is an image of what I want to make because I'm not very good at explaining things!
http://beta.team-space.co.uk/service/ Here is the page I want to use it on. If you enter in a "p" in the first field you will see what I am trying to achieve.
Your input box needs to be a select box.
You would attach js code to it to monitor keystrokes and re-populate the select box
I know what you're saying,
are you trying to make an
are you trying to make an AJAX script like google suggest?
Indeed I am, but I want to
Indeed I am, but I want to have it on multiple forms on one page.
Are you asking how to style
Are you asking how to style the span that drops down below the input? And it's s'posed to look green like in the screenshot? The only thing I can see in your stylesheet is span ul but the thing that drops down doesn't have a ul in it does it?
I've re-written the form
I've re-written the form now, so that it's easier to use.
I want the div underneath the show field to be the same width as the field with a border, and directly underneath it.
I hope this helps.
No help even with the new
No help even with the new page?
and how is this new page
and how is this new page better? it seems to be a step back, doesn't seem to work? or am I mad?
It doesn't work because you
Sorry if this is sounding annoying. No doubt you guys get hundreds of questions every week, but hopefully this one is a little bit more thought provoking than some others.
I am working on something like this
Hopes this helps on what you are looking to do.
Thanks for the links
Styling of the items
For anyone that cares, I
For anyone that cares,
I solved this by using bloated markup. I enclosed the label and input box in an outer div. the outer div had the relative position style, but with no actual measurements for it to be positioned by, so it just sits in with the normal flow of the document. Within this wrapper div was my drop down box div. This was positioned absolutely.
http://beta.team-space.co.uk/service/ type P into the first field.