You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StatusSearch.aspx.cs" Inherits="web.Web.StatusSearch" %>
<!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 runat="server">
<title></title>
<script type="text/javascript" src="../../JS/jquery-3.1.1.js"></script>
<script>
$(function () {
$("#lnkSearch").click(function () {
var blno = $("#txtBlno").val();
$.ajax({
url: '../../Interface/StatusController.ashx',
type: 'POST', //GET
data: {
action:"GetStatusForWHLWithBLNO",
blno: blno
},
dataType: 'html', //返回的数据格式: json/xml/html/script/jsonp/text
success: function (data) {
$("#dataTable").html(data);
},
error: function () {
alert("出错了!请稍候再试!");
}
})
})
})
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
BLNO:<input id="txtBlno" type="text" />
<a id="lnkSearch">WHL查询</a>
</div>
<div id ="dataTable">
</div>
</form>
</body>
</html>