Мне нужна небольшая помощь, чтобы выяснить, почему следующий код не работает в Google Chrome 5 / Windows XP. Он хорошо работает во всех других браузерах (IE, FF, Safri, Opera и т. Д.). Может ли кто-нибудь пролить свет на это?
/* AJAX Request */
jq("#a-post-request").unbind("click").bind("click", function(e){
//jq("#loading").css({"display":"block"});
jq.ajax({
url: "search_data_table.html",
type: "get",
cache: false,
error: function(){alert ("No data found for your search.");},
success: function(data){
jq("#search-results-table tbody").empty().append(data);
jq("#search-results").css({"display":"block"});
jq("#search-results-table").trigger("update"); // this one is for the table sorter plugin
// set sorting column and direction, this will sort on the first column.
var sorting = [[0,0]];// this one is for the table sorter plugin
// sort on the first column .
jq("#search-results-table").trigger("sorton",[sorting]);// this one is for the table sorter plugin
e.preventDefault();
}
});
});
Большое спасибо,
Racky