<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditeAddress_Wap.aspx.cs" Inherits="Hidistro.UI.Web.WAP.EditeAddress_Wap" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />

<title>收货地址编辑</title>
<link rel="stylesheet" type="text/css" href="style/css.css"/>
 <Hi:Script ID="Script2" runat="server" Src="/utility/jquery-1.3.2.min.js" />  
 <script>
     function CheckAddress() {
         if ($("#txtshippingto").val().replace(/\s/g, "") == "") {
             alert("请输入收货人姓名");
             return false;
         }
         if ($("#regionSelectorValue").val().replace(/\s/g, "") == "") {
             alert("请选择省县市");
             return false;
         }
         if ($("#txtaddress").val().replace(/\s/g, "") == "") {
             alert("请输入收货详细地址");
             return false;
         }

         if ($("#txtcellphone").val().replace(/\s/g, "") == "") {
             alert("请输入手机号码");
             return false;
         }
     }
 </script>
</head>

<body class="cshe">
<form runat="server">
 
<div class="ddwctop"><asp:Literal ID="litTitle" runat="server" Text="新增收货地址"></asp:Literal></div>
<div class="gxnzbcsgw">
<div class="xinzshouhuodzi ">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
    <td colspan="2" style="color:#f05612;"><asp:Literal ID="literror" runat="server"></asp:Literal></td>
    </tr>
  <tr>
    <td align="left">收货人：</td>
    <td align="left"><input type="text" id="txtshippingto" runat="server"  class="inputxz"/></td>
  </tr>
  <tr>
    <td align="left" colspan="2"><Hi:RegionSelector runat="server" id="dropRegionsSelect" CssClass="inputxz1" Direction="Vertical" /></td>
  </tr>
  <tr>
    <td align="left">详细地址：</td>
    <td align="left"  ><input type="text" id="txtaddress" runat="server"  class="inputxz"/></td>
  </tr>
  <tr>
    <td align="left">邮政编号：</td>
    <td align="left"><input type="text" id="txtzipcode" runat="server" class="inputxz" /></td>
  </tr>
  <tr>
    <td align="left">联系电话：</td>
    <td align="left"><input type="text" id="txttellphone" runat="server" class="inputxz" /></td>
  </tr>
  <tr>
    <td align="left">手机号码：</td>
    <td align="left"><input type="text" id="txtcellphone" runat="server"  class="inputxz"/></td>
  </tr>
 
</table>
</div>
</div>
<div class="zfaniu"><p><asp:Button  Text="添加" ID="btnSave" runat="server" CssClass="totalbtn" OnClientClick="return CheckAddress()" />　<input type="button" value="返回" class="btnback" onclick="javascript:history.go(-1)" /></p></div>
<!--[if lt IE 9]>
　　　　<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
　　<![endif]-->
　　</form>
</body>
</html>
