Jump to content


Photo

Drop Down Menu Selection


  • Please log in to reply
2 replies to this topic

#1 Jessica

Jessica
  • Staff Alumni
  • This is not my name.
  • 8,982 posts
  • LocationDallas, TX
  • Age:26

Posted 18 April 2006 - 05:16 PM

SOLVED!!

[a href=\"http://doublooncove.net/test.txt\" target=\"_blank\"]Here is the code[/a]
[a href=\"http://doublooncove.net/test.php\" target=\"_blank\"]Here is the test page[/a]

The image should change to 1 or 2 when you click on 1 or 2 in the drop down.

I have tried onBlur, onClick, onChange and onFocus.

What should I do?
My goal in replying to posts is to help you become a better programmer, including learning how to debug your own code and research problems. For that reason, rather than posting the solution, I reply with tips and hints on how to find the solution yourself. See below for useful links when you get stuck.

How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq

Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 18 April 2006 - 06:10 PM

It works fine for me. Whats the problem?

If I selected 2 from the menu na orange square appears in the brown box and if I select 1 a red box apears in the brown box.

#3 Jessica

Jessica
  • Staff Alumni
  • This is not my name.
  • 8,982 posts
  • LocationDallas, TX
  • Age:26

Posted 18 April 2006 - 06:13 PM

[!--quoteo(post=366104:date=Apr 18 2006, 01:10 PM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Apr 18 2006, 01:10 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
It works fine for me. Whats the problem?

If I selected 2 from the menu na orange square appears in the brown box and if I select 1 a red box apears in the brown box.
[/quote]


Someone else already helped me on another forum, was just about to come delete this ;)
My goal in replying to posts is to help you become a better programmer, including learning how to debug your own code and research problems. For that reason, rather than posting the solution, I reply with tips and hints on how to find the solution yourself. See below for useful links when you get stuck.

How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq

Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users