1. 程式人生 > >使用ajax動態載入select下拉框

使用ajax動態載入select下拉框

本例子只是模擬一個動態獲取select值的過程,資料從xml獲取,當然你也可以從servlet、struts的action獲取,不多說看程式碼

1、student.xml

2、strudent.html

The end! Try it yourself