我有一個asp.net頁面使用數據表jQuery控件來顯示數據....控件只適用於我強制刷新後的樣式...這可能是一些愚蠢的,但在此刻我我無法弄清楚。 這種情況發生在IE和Firefox ...我檢查代碼的螢火,並不能找到任何失蹤.... 這是我在做什麼...jquery控件丟失樣式
$(document).ready(function() {
$('.datepicker').datepicker({
changeMonth: true, changeYear: true,
showOn: "both"
});
//buttons
$("button, input:submit").button();
$('#srchGrid').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumns":
[ // select columns that should not be sorted or searchable
//{ "bSortable": false, "bSearchable": false },
{ "bSortable":true},
{"bSortable":true}, // strip HTML tags before sorting this column
{ "bSortable":true},
{"bSortable":true},
{"bSortable":true},
{"bSortable":true},
{"bSortable":true},
{ "bSortable": false}
]
});
});
明顯的風格正在喪失對回發....
我們看一些代碼,我們不是魔術師知道什麼'錯了:) – Bakudan 2011-03-22 17:33:34
在IE瀏覽器...它的工作原理在兼容模式下... – 2011-03-22 18:02:35