drop box


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: drop box

  1. #1
    johns.B Guest

    drop box


    Hi,
    I have a drop box list and I need once a chose a list it will take me to
    another page. How should I do that. Just little experiance in Java. Any help
    ????? or suggestion!!!

  2. #2
    Oleg Buryak Guest

    Re: drop box

    That's simple:

    <select name="url"
    onChange="window.open(this.options[this.selectedIndex].value,'_top')">
    <option value="one.html">Option1</option>
    <option value="two.html">Option2</option>
    <option value="three.html">Option3</option>
    </select>

    Email me if you have any questions.

    --
    Oleg Buryak
    buria@perelom.com
    http://www.perelom.com ::: Offshore Web Design

    >
    > Hi,
    > I have a drop box list and I need once a chose a list it will take me to
    > another page. How should I do that. Just little experiance in Java. Any

    help
    > ????? or suggestion!!!




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center