<%@ Page Language="C#" AutoEventWireup="true"  EnableViewState="true" MasterPageFile="~/Dialog/DialogMaster.Master" CodeBehind="CustomerService.aspx.cs" Inherits="OAWeb.User.CustomerService" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script>
    function CheckForm() {

        if ($("#<%=txtTitle.ClientID  %>").val() == "" || $("#<%=txtTitle.ClientID  %>").val() == "要做什么") {
            alert("请输入标题");
            return false;
        }

        if ($("#<%=txtDescription.ClientID  %>").val() == "") {
            alert("请输入内容");
            return false;
        }

        return true;
    }
</script>
    <div class="form" style="width: 500px; padding: 10px;">
        <table cellpadding="0" cellspacing="0" border="0" class="table_form">
            
            <tr>
                <td class="right">
                    标题：
                </td>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" Width="350px" Text=""></asp:TextBox>
                </td>
            </tr>
           
           
            <tr>
                <td class="right">
                    内容：
                </td>
                <td>
                    <asp:TextBox ID="txtDescription" runat="server" Height="77px" Width="350px" Text="" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
            
            <tr>
                <td>
                </td>
                <td>
                    <asp:Button ID="btnChange" runat="server" Text="提 交" OnClientClick="return CheckForm()" OnClick="btnChange_Click" CssClass="btn_77px" />
                    <input id="btnClose" type="button" value=" 返 回 " onclick="art.dialog.close();return false;"
                        class="btn_77px" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
