摘要: 1.load方法 载入远程HTML代码并插入DOM中说明:load(url [, data] [, callback])url String 请求HTML页面的URL地址data Object 发送至服务器的key/value数据callback Function 请求完成时的回调函数,无论请求成功或失败实例:$("#resText").load("test.html");$("#resText").load("test.html .para");筛选class为para的内容$("#resText&qu 阅读全文
posted @ 2012-02-16 10:29 ~随风~ 阅读(169) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.Web.UI;using System.Web.UI.WebControls;namespace WebApplication3{public partial class index : System.Web.UI.Page{protected void Page_Load(object sender, EventArgs e){}protected void Button1_ 阅读全文
posted @ 2012-02-14 11:28 ~随风~ 阅读(104) 评论(0) 推荐(0) 编辑
摘要: private void SendEmail(String sender, String TransmitName, String Receiver, String subject, String Content){MailMessage Mail = new MailMessage();Mail.From = new MailAddress(sender);//发送人Mail.To.Add(new MailAddress(Receiver));//接收人Mail.IsBodyHtml = true;Mail.Subject = subject;Mail.IsBodyHtml = true;M 阅读全文
posted @ 2012-02-14 11:27 ~随风~ 阅读(135) 评论(0) 推荐(0) 编辑