有没有办法在不使用传统方式的情况下显示日历扩展器弹出窗口?并且还抓住了选择的价值?
我编写的一些代码使其更清晰:
<table>
<tr>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"></td>
</tr>
</table>
$('table :text').focus(function(){
displayTheCalendar();
});
//PSEUDOCODE!!!
function onDateSelected(e){
$(this || event.srcElement || etc..).val(e.dateSelected);
}
我想我需要某种'hack'来处理那个日历的js。
PS:我必须使用扩展器或任何看起来和感觉像扩展器的控件。