Results 1 to 2 of 2

Thread: JS and selection box

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question JS and selection box

    I have two selection boxes. The content of the selection boxes are equal. If I change Selection1 Selection2 must be changed too, but if I change Selection2 nothing should happen. Is this possible using a javascript function and onclick.event?

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Code:
    <select name="select1" onChange="select2.selectedIndex=select1.selectedIndex">
    i think that is what you wanted


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width