<script type="text/javascript"> //處理鍵盤事件 禁止後退鍵(Backspace)密碼或單行、多行文字框除外 function banBackSpace(e){ var ev = e || window.event;//擷取event對象 var obj = ev.target || ev.srcElement;//擷取事件來源 var t = obj.type || obj.getA
public static string RenderPage(string pageLocation) { System.Web.HttpContext context = System.Web.HttpContext.Current; StringBuilder result = new StringBuilder(1024); context.Server.Execute(pageLocation, new HtmlTextWriter(new StringWriter(result)))
一、FCKeditor的配置使用拷貝fckeditor檔案到webroot目錄下,右擊檔案根目錄--MyEclipse--Exculde From Validation--不進行有效性驗證1._samples檔案夾為例子2.頁面添加如下代碼 <script src="/guestbook/fckeditor/fckeditor.js"></script> //設定js檔案路徑 <script> var
<html> <head> <title>Confirmation </title> <body> <% Set JMail = Server.CreateObject("JMail.SMTPMail") ' This is my local SMTP server JMail.ServerAddress = "mail.yourdomain.com:25" ' This is me....
<% sub Jmail(email) Dim JMail,SendMail Set JMail=Server.CreateObject("JMail.SMTPMail") JMail.Logging=True JMail.Charset="gb2312" JMail.ContentType = "text/html" JMail.ServerAddress=SMTPServer JMail.Sender=SystemEmail JMail.Subject=topic