07 2011 档案

摘要:js文件:document.writeln("<div id='answerupfilediv' style='text-align:right'></div>"); var upLoadDemo = " <input type='hidden' value='' id='upFileName' name='upFileName' /> <form id='formFile' name='formFile 阅读全文
posted @ 2011-07-20 10:56 caicainiao 阅读(859) 评论(0) 推荐(0)
摘要:showDiv($("#ShowDiv")); function showDiv(obj){$(obj).show();center(obj);$(window).scroll(function(){center(obj);});$(window).resize(function(){center(obj);});}function center(obj){var windowWidth = document.documentElement.clientWidth; var windowHeight = document.documentElement.clientHeig 阅读全文
posted @ 2011-07-05 14:30 caicainiao 阅读(813) 评论(0) 推荐(0)
摘要:var InterestKeywordListString = $("#userInterestKeywordLabel").html(); var InterestKeywordListArr = []; var t = ''; for (var i = 0; i < InterestKeywordListString.length; i++) { var tmp = InterestKeywordListString.charAt(i); if (tmp != '' && tmp != ',') { 阅读全文
posted @ 2011-07-02 15:07 caicainiao 阅读(4117) 评论(0) 推荐(1)
摘要:首先,需要导入此DLL:System.ServiceModel.WebSystem.Runtime.SerializationJSON是专门为浏览器中的网页上运行的JavaScript代码而设计的一种数据格式。在网站应用中使用JSON的场景越来越多,本文介绍 ASP.NET中JSON的序列化和反序列化,主要对JSON的简单介绍,ASP.NET如何序列化和反序列化的处理,在序列化和反序列化对日期时间、集 合、字典的处理。 一、JSON简介 JSON(JavaScript Object Notation,JavaScript对象表示法)是一种轻量级的数据交换格式。 JSON是“名值对”的集合。结构 阅读全文
posted @ 2011-07-02 11:31 caicainiao 阅读(470) 评论(0) 推荐(0)