Web Hosting Talk







View Full Version : javascripts : got me crazy!


inkhead
12-11-2002, 10:47 PM
Can someone give me a code snippet that does the following?

I want to have a popupmenu with a bunch of items like so:

Soda
Candy
Icecream
Milk

now if the user selects "Milk" from the dropdown menu it will write "One Gallon of 2%" to the details field on the page as soon as it's selected how can I set this up?

Aralanthir
12-12-2002, 12:02 AM
I think this code's pretty close to what you want:

http://javascript.internet.com/navigation/remote-control.html

I think you just need to modify the links so that they fill in a textbox or something. I seem to recall a thread on how to do that somewhere in this forum.