ghdhair100
czołg
Dołączył: 15 Gru 2010
Posty: 1818
Przeczytał: 0 tematów
Ostrzeżeń: 0/10 Skąd: England
|
Wysłany: Czw 2:26, 03 Mar 2011 Temat postu: js脚本实现௦ |
|
|
PS:网上摘的.并不是我不会写.只是觉得就这点儿东西.没什么技术含量.没有必要重写一遍.贴出来贡大家学习.
这个例子.我认为代码易读性比较高.但也存在缺点:内存占得多.日后维护起来也不太方便.
好了.开始一页发不完.我在回贴里分开发.)
<script language="javascript" src="CitySel.js"></script>
<form name="formAddUser">
<SELECT id="inputProvince" size="1" name="inputProvince">
<OPTION selected></OPTION>
</SELECT>
<SELECT id="inputCity" size="1" name="inputCity">
<OPTION selected></OPTION>
</SELECT>
<SCRIPT language="javascript">
InitCitySelect(formAddUser.inputProvince,formAddUser.inputCity);
</SCRIPT>
</form>Many years ago there lived an Emperor who was so exceedingly fond of fine new clothes that he spent vast sums of money on dress. To him clothes meant more than anything else in the world. He took no interes
related links:
弦子―舍不得
Post został pochwalony 0 razy
|
|