After the option tag is selected, the page jumps

As shown in the figure: add in the select tag:

onchange="location.href=this.options[this.selectedIndex].value;"

The above method refreshes and jumps for the current page, and can also jump to a new window:

 

 

onchange="window.open(this.options[this.selectedIndex].value)"

 

Guess you like

Origin blog.csdn.net/PhilipJ0303/article/details/98030427