Indonesia
<!--Tambahkan kode berikut ke area <body>--> <script Language="javascript"> function aClass(aData, aValue, aText) { if (aClass.arguments.length < 3) alert("Masuk Salah parameter! ") else { this.Data = aData; this.Value = aValue; this.Text = aText; } } function chgDnCombobox(aSrc, aDes, aClass, aRemain){ if (chgDnCombobox.arguments.length < 3) peringatan ( "Parameter yang dimasukkan salah!") else if (aSrc.type != "select-one") alert("Parameter yang dimasukkan salah!") else if (aClass == null) alert("aClass tidak kesalahan yang ditentukan ! ") else { if (aRemain==null) aRemain = 1; chgDnComboboxItem(aSrc.options[aSrc.selectedIndex].value, aDes, aClass, aRemain); } } function chgDnComboboxItem(aValue, aDes, aClass, aRemain ){ if (chgDnComboboxItem.arguments.length<3) alert("Kesalahan dalam meneruskan parameter!") else if (aClass==null) alert("Error! aClass tidak ditentukan!") else{ if (aRemain==null ) aRemain = 1; deleteAllComboboxItem(aDes, aRemain); untuk (var i=0; i<aClass.length; i++) if (aClass[i].Data==aValue) /* centang aClass[i].Data */ if (aClass [i].Data!="") addComboboxItem(aDes, aClass[i].Text, aClass[i].Value); .length; i > aRemain-1; i--) aList.options[i] = null; } fungsi addComboboxItem(aList, aText, aValue) { var aOption = Opsi baru(aText, aValue); [aList.options.length]=aOption"); } </skrip> <lebar tabel = "300" border = "0" cellpacing = "0" cellpadding = "5"> <tr> <nama formulir = "formulir saya" onSubmit=" return noerror(myform)" method="post" action="youraction_script"><td height="16" valign="top" bgcolor="#CCCC99"> <div align="center"><span class ="title ">Tampilan:</span> <select name="CountryGroup" size=1 onChange='change_area(document.myform)'> <option value="domestic">domestik</option> <option value=" asing"> Luar Negeri</option> </select> <select name="City" size=1> <option value="Beijing">Beijing</option> <option value="Guangdong">Guangdong</option> < option value= "Guangxi">Guangxi</option> <option value="Shanghai">Shanghai</option> <option value="Fujian">Fujian</option> <option value="Tianjin">Tianjin</option > <option value="Hunan">Hunan</option> <option value="Hubei">Hubei</option> <option value="Zhejiang">Zhejiang</option> <option value="Hebei">Hebei< /option> <option value="Shandong">Shandong</option> <option value="Sichuan">Sichuan</option> <option value="Anhui">Anhui</option> <option value="Liaoning"> Liaoning</ option> <option value="Jiangsu">Jiangsu</option> <option value="Gansu">Gansu</option> <option value="Qinghai">Qinghai</option> <option value="Jiangxi ">Jiangxi </option> <option value="Ningxia">Ningxia</option> <option value="Shanxi">Shanxi</option> <option value="Yunnan">Yunnan</option> <option value= "Jilin" >Jilin</option> <option value="Henan">Henan</option> <option value="Shaanxi">Shaanxi</option> <option value="Heilongjiang">Heilongjiang</option> <option value=" Guizhou">Guizhou</option> <option value="Hainan">Hainan</option> <option value="Xinjiang">Xinjiang</option> <option value="Inner Mongolia">Mongolia Dalam</ option> <option value ="Tibet">Tibet</option> <option value="Hong Kong">Hong Kong</option> <option value="Taiwan">Taiwan</option> </select> </div > </td></ form></tr></table> <script Language="javascript"> function onchg(aForm) { onchg(document.myform);} var f_Set0 = new Array(new aClass('domestic ', 'Beijing', ' Beijing'), aClass baru('domestik', 'Guangdong', 'Guangdong'), aClass baru('domestik', 'Guangxi', 'Guangxi'), aClass baru('domestik', 'Shanghai', 'Shanghai' ), aClass baru('domestik', 'Fujian', 'Fujian'), aClass baru('domestik', 'Tianjin', 'Tianjin'), aClass baru('domestik', 'Hunan ', 'Hunan'), aClass baru('domestik', 'Hubei', 'Hubei'), aClass baru('domestik', 'Zhejiang', 'Zhejiang'), aClass baru('domestik', 'Hebei', 'Hebei'), aClass baru ('domestik', 'Shandong', 'Shandong'), aClass baru('domestik', 'Sichuan', 'Sichuan'), aClass baru('domestik', 'Anhui', 'Anhui '), aClass baru(' Domestik', 'Liaoning', 'Liaoning'), aClass baru('Domestik', 'Jiangsu', 'Jiangsu'), aClass baru('Domestik', 'Gansu', 'Hebei') , aClass baru('Domestik' , 'Qinghai', 'Shandong'), aClass baru('domestik', 'Jiangxi', 'Jiangxi'), aClass baru('domestik', 'Ningxia', 'Ningxia'), new aClass('domestik', ' Shanxi', 'Shanxi'), aClass baru('domestik', 'Jiangxi', 'Jiangxi'), aClass baru('domestik', 'Yunnan', 'Yunnan'), new aClass( 'domestik', 'Jilin' , 'Jilin'), aClass baru('domestik', 'Henan', 'Henan'), aClass baru('domestik', 'Shaanxi', 'Shaanxi'), aClass baru('domestik ', 'Heilongjiang', ' Heilongjiang'), aClass baru('domestik', 'Guizhou', 'Guizhou'), aClass baru('domestik', 'Hainan', 'Hainan'), aClass baru('domestik', 'Xinjiang', 'Xinjiang' ), aClass baru('domestik', 'Mongolia Dalam', 'Mongolia Dalam'), aClass baru('domestik', 'Tibet', 'Tibet'), aClass baru('domestik', 'Hong Kong', 'Hong Kong'), aClass baru('domestik', 'Taiwan', 'Taiwan'), aClass baru('asing', 'Amerika Serikat', 'Amerika Serikat'), aClass baru('asing ', 'Jepang', 'Jepang'), aClass baru ('asing', 'Inggris', 'Inggris'), aClass baru('asing', 'Prancis', 'Prancis'), aClass baru('asing', 'Italia', 'Italia'), aClass baru(' asing', 'Jerman', 'Jerman'), aClass baru("End", "End", "End")); aForm.CountryGroup, aForm.City, f_Set0, 0) } </script>