Question with dropdown box

B

Bob

is there a way to have a dropdown box and when the user clicks on an
item in the dropdown box it can show information about that item in
html somewhere else on the page

example: in the drop down box it would have a list of baseball
players, and when a user clicks on the player (not pushing the submit
button, just highlighting the selection in the dropdown box) to the
right of the dropdown box would show the players stats...


any help on this would be greeeeeeaty appreciated.

Thank you in advance

Bob
 
E

Evertjan.

Bob wrote on 11 apr 2007 in comp.lang.javascript:
is there a way to have a dropdown box and when the user clicks on an
item in the dropdown box it can show information about that item in
html somewhere else on the page

example: in the drop down box it would have a list of baseball
players, and when a user clicks on the player (not pushing the submit
button, just highlighting the selection in the dropdown box) to the
right of the dropdown box would show the players stats...

Yes, there is a way, in fact there are many.
any help on this would be greeeeeeaty appreciated.

Don't mention it.

You will have to code it in HTML and Javascript. Programming it from
scratch for you is a bit to much, but if you try it yourself and get stuck,
well, we are here to help.
 
W

wreed

I think what you would like to look into is an iframe. Based on the
ONCHANGE event on your drop down you call to your iframe and load
page into the iframe.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top