1
JavaScript數組我有以下代碼:序列化與jQuery
<script type="text/javascript">
var checksSinceLastPostBack = new Array();
function clientSelectedIndexChanged(sender, eventArgs) {
var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
var serializedCheckData = checksSinceLastPostBack.serializeArray();
if (ajaxManager != null)
ajaxManager.ajaxRequest(serializedCheckData);
}
</script>
的
var serializedCheckData = checksSinceLastPostBack.serializeArray();
似乎並沒有工作。我誤解了這個嗎?
此外,如果這項工作,我將如何在後面的代碼反序列化它?
EDIT:對不起,這是ASP.NET
[** MDC參考.join()**](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/join) – 2010-09-28 00:59:33