搜尋此網誌

2013年1月18日 星期五

delete all options in the select tag with JQuery (使用jquery刪除select tag裡所有的選項)

.html(string) : 把string參數 , 設給元件作為內容.

 $('#elementID').html('');

沒有留言:

張貼留言