摘要: var arry = [1, 2, 3, 4]; var arry2 = $.map(arry, function (item) { return item * item; }); var obj = { "pro1":"11", "pr02":"22" }; $.each(arry2, function () { document.writeln(this); }); $.each(arry2, function (key, value) { document.write... 阅读全文
posted @ 2012-03-17 19:34 Bug山Bug海 阅读(188) 评论(0) 推荐(0)
摘要: 配置文件中加入 <system.net> <mailSettings> <smtp> <network host="smtp.qq.com" port="25" userName="475504513@qq.com" password=""/> </smtp> </mailSettings> </system.net> MailMessage msg = new MailMessage(); msg.From = new MailA 阅读全文
posted @ 2012-03-17 18:29 Bug山Bug海 阅读(213) 评论(0) 推荐(0)
摘要: 迁移时代码部分样式没了,具体见http://blog.csdn.net/ssll7759/article/details/7362405通过System.Windows.Browser命名空间下的HtmlPage,HtmlDocument,HtmlElement,HtmlWindow操作浏览器对象(1) HtmlDocument的属性简介 Body:Html的Body对象 Cookies:Cookie字符串 DocumentElement: DocumentUri:Silverlight宿主的html地址 QueryString:页面的查询字符串参数(2) HtmlPage的属性简介 可以使用 阅读全文
posted @ 2012-03-17 11:30 Bug山Bug海 阅读(277) 评论(0) 推荐(0)