标签:blog io java ar div cti log on c
var hashMap1 = {}; $(".productFieldTxt").each(function () { if ($(this).val() in hashMap1) { isOk = false; alert("Product Field [" + $(this).val() + "] appears repeatedly."); return false; } else { hashMap1[$(this).val()] = $(this).val(); } }); var arrayCO = new Array(); var CECustomizeOption = new Object(); CECustomizeOption.ElementId = 0; CECustomizeOption.ElementText = $(this).text(); CECustomizeOption.ElementValue = $(this).val(); arrayCO.push(CECustomizeOption); $(‘#<%=hf_ElementsJson.ClientID %>‘).val(JSON.stringify(arrayCO));//json2序列化,服务器端jss反序列化
标签:blog io java ar div cti log on c
原文地址:http://www.cnblogs.com/laozuan/p/3964193.html