<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml" lang = "gb2312"> <pead> <title> code example: cascade menu </title> <meta http-equiv = "content-type" content = "text/html; charset = gb2312 "/> <meta name =" author "content =" fengyan, CNLei.y.l@gmail.com "> </pead> <body> <select id =" BigCate "name =" BigCate "size =" 1 "onchange =" Redirect (this. options. selectedIndex) "> <option value =" "> characters </option> <option value =" "> geography </option> <option value =" "> wildlife </option> <option value = ""> Technology </option> <option value = ""> static object </option> <option value = ""> Design </option> <option value =" "> News </option> <option value =" "> pets </option> <option value =" "> plants </option> <option value =" "> entertainment </option> <option value = ""> highlights of life </option> <option value = ""> sports </option> </select> <select id = "SmlCate" name = "SmlCate" size = "1"> <option value = "1"> daily life </option> <option value = "2"> travel </option> <option value = "3"> Party </option> <option value = "4"> wedding </option> <option value = "5"> holiday </option> <option value = "6"> beauty photo </option> <option value = "7"> human photography </option> <option value = "8"> self-timer </option> <option> value = "9"> acting stars </option> <option value = "10"> sports stars </option> <option value = "11"> political celebrities </option> <option value = "12"> others </option> </select> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]