2009年04月29日
取得選取元件值
很重要,可是都會忘記,記錄一下:
$('select.foo option:selected').val(); // get the value from a dropdown select
$('input:checkbox:checked').val(); // get the value from a checked checkbox
$('input:radio[name=bar]:checked').val(); // get the value from a set of radio buttons
2009年04月13日
2009年04月2日
jQuery下拉選單可以多重選擇
2009年03月25日
jQuery 頁籤 (tab)


