【发布时间】:2010-08-25 15:55:01
【问题描述】:
给定这个 html,当我点击它时,我想从中获取“August”:
<span class="ui-datepicker-month">August</span>
我试过了
$(".ui-datepicker-month").live("click", function () {
var monthname = $(this).val();
alert(monthname);
});
但似乎没有工作
【问题讨论】: