|
|
@ -4,6 +4,9 @@ |
|
|
|
} |
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="en"> |
|
|
|
<head> |
|
|
|
<script src="~/vendor/jquery/jquery.min.js"></script> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<!-- Content --> |
|
|
|
<div id="content"> |
|
|
@ -411,7 +414,9 @@ |
|
|
|
<!-- Content end --> |
|
|
|
<script type="text/javascript"> |
|
|
|
$(document).ready(function () { |
|
|
|
debugger; |
|
|
|
$('#btnSearch').click(function () { |
|
|
|
|
|
|
|
var postalCode = $('#PostalZipCode').val(); |
|
|
|
|
|
|
|
if (!postalCode) { |
|
|
@ -421,9 +426,11 @@ |
|
|
|
|
|
|
|
$.ajax({ |
|
|
|
type: 'POST', |
|
|
|
url: '/Customer/GetAddressByPostCode' |
|
|
|
dataType: 'json', |
|
|
|
data: JSON.stringify({ postalCode: postalCode }), |
|
|
|
contentType: 'application/json; charset=utf-8', |
|
|
|
url: '/Customer/GetAddressByPostCode', |
|
|
|
//data: JSON.stringify({ postalCode: postalCode }), |
|
|
|
data: JSON.stringify(postalCode), |
|
|
|
dataType: 'json', |
|
|
|
success: function (response) { |
|
|
|
var data = response; |
|
|
|
|
|
|
|