1
我的日期选择器有问题。我使用http://dev.jtsage.com/jQM-DateBox2/作为选取器。jquery mobile和DateBox的问题
正如你在我的小提琴,请参阅: http://jsfiddle.net/SrHNe/ 它不会改变网页,甚至thoug它trigging我与window.location.assign(位置)也尝试了警报
$('#datepicker').on('change', function(e,p) {
var date = $(this).val();
var location = "index.php?date=" + date;
alert(location);
window.location.href(location);
});
,但在这里它只会在今日按钮“gåtil i dag”中作用于日间按钮的按钮。 ?怎么可能?我无法使用mobile.changePage([,选项]),因为我需要在没有ajax的情况下进行更改。
现在它改变了,如果我在daypicker的按钮中使用今日按钮“gd til i dag”,但是如果我点击某个日期,它仍然不会改变。 – mschadegg
非常感谢!现在工作完美! :d – mschadegg