0
  <select>

    <option value="index.html">Home</option>
    enter code here
    <option value="about.html">About Us</option>

    <option value="smt.html">Smt</option>

    <option value="smt.html">Smt</option>

  </select> 

  • What is wrong in it ? why isn't changed the page by the time selecting an option?
Roko C. Buljan
  • 196,159
  • 39
  • 305
  • 313
Hrant
  • 3
  • 1

1 Answers1

-1

In the form of the post method you can set it to the selected value.

  <select name="menu"  onchange="this.form.action=this.options[this.selectedIndex].value;">
Al Kush
  • 278
  • 3
  • 15