admin/notices/Add.aspx
(完整代码) 2KB<%@ Page Title="" Language="C#" MasterPageFile="~/admin/main.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="Add.aspx.cs" Inherits="notices_Add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script src="../../js/jquery.js" type="text/javascript"></script>
<script src="../../js/formValidator.js" type="text/javascript"></script>
<script src="../../js/formValidatorRegex.js" type="text/javascript"></script>
<link href="../../css/validator.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#DDEFFD" style="width: 100%">
<tr>
<td height="26">
<tr>
<td style=" text-align:right; width:20%;"><font style='color:red'>* </font>公告标题:</td>
<td class="tbright"><div style="display:inline;float:left;">
<asp:TextBox ID="txt_title" runat="server" width="200"></asp:TextBox></div><div id="ctl00_ContentPlaceHolder1_txt_titleTip" style="width:250px;display:inline;float:left;text-align:left;"></div>
</td></tr>
<tr>
<td style=" text-align:right; width:20%;"><font style='color:red'>* </font>公告内容:</td>
<td class="tbright"><div style="display:inline;float:left;">
<fckeditorv2:fckeditor id="fck_memo" runat="server" height="400" width="700" BasePath="~/fckeditor/"></fckeditorv2:fckeditor></div>
</td></tr>
<tr>
<td style=" text-align:right; width:20%;"></td>
<td class="tbright"><div style="display:inline;float:left;">
<asp:Button ID="Button1" runat="server" OnClick="btnSave_Click" Text="保 存" OnClientClick="return jQuery.formValidator.PageIsValid('1');" />
<asp:Button ID="Button2" runat="server" Text="返 回" OnClientClick="document.location='List.aspx';return false;" CausesValidation="false" />
</div>
</td></tr>
</td>
</tr>
</table>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$.formValidator.initConfig({ onError: function(msg) { alert(msg) } });
$("#ctl00_ContentPlaceHolder1_txt_title").formValidator({ onshow: "请输入公告标题", onfocus: "公告标题不能为空", oncorrect: "合法" }).InputValidator({ min: 1, onerror: "公告标题不能为空,请确认" });
});
</script>
</asp:Content>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。