2008/09/11

jQuery: working with select options | Jerad Bitner:

jQuery: working with select options Jerad Bitner:

取出select option裡的文字:

$('#role').html($(this).children("[@selected]").text()).show();