I am unable to send ajax request to controller action. I think i am missing something ..
<script type="text/javascript">
$('#UseShipAddr').click(function () {
$.ajax({
url: "@(Url.Action("article", "Home"))",
type: "POST",
data: { id: 50 },
cache: false,
async: true,
success: function (data) {
alert(data);
}
});
});
</script>
Manish Kumar
07-Dec-2017try this code..
hope this helps you..