Tip: you can modify some code before running
Js select code tuning<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>Js select code tuning</title></head><body><form id="f" name="f" method="post" action=""> <label> <select name="select" onchange="jump('f');"> <option value="http://www.111cn.net">Create a web page</option> <option value="http://www.111cn.net">Theme Love</option> </select> </label></form><script language="javascript">Function jump (obj) {var selectedValue = obj. options [obj. selectedIndex]. value; if (selectedValue. indexOf (',')! =-1 | selectedValue =-1) {obj. options [0]. selected = true; return;} location. href = selectedValue ;}</script></body></html>
Tip: you can modify some code before running