1
Reply

Json with mvc4 mobile application

Sasi Reddy

Sasi Reddy

Jul 24 2014 4:48 AM
740

i am calling json like below.
but it is not calling.
In mvc4 web application it is working fine.
$(function () {
$('#TM1').change(function () {

$.getJSON("@Url.Action("getEMI", "MISanction")", { loanamount: $("#loanamount").val(), rateofinterest: $("#rateofinterest").val(), tenureofmonths: $("#TM1").val() }, function (result)
{ $("#EMI").val(result) })
});
});

if i refresh the page ,then it is calling,other wise it is not calling

Answers (1)