Preferential rate calculation of preferential prices
$ ("Body"). On ("Change", "#Rate", function () {
var rateprice = 0;
var rate=$ ("#Rate"). Val ();
var surl = "/manage/basedomove/getjsonproduct?" Productcode= "+ $ (" #ProductCodes "). Val ();
var retinfo = eval ("(" + $.asajaxpost (sURL, {}) + ")");
var lessoncostprice = "";
$.each (Retinfo, function (n, value) {
Lessoncostprice + = value. Lessoncostprice;
});
Rateprice = (rate/100) * lessoncostprice;
$ ("#RatePrice"). Val (Rateprice);
});
Preferential rate calculation of preferential rates
$ ("Body"). On ("Change", "#RatePrice", function () {
var rate = 0;
var rateprice=$ ("#RatePrice"). Val ();
var surl = "/manage/basedomove/getjsonproduct?" Productcode= "+ $ (" #ProductCodes "). Val ();
var retinfo = eval ("(" + $.asajaxpost (sURL, {}) + ")");
var lessoncostprice = "";
$.each (Retinfo, function (n, value) {
Lessoncostprice + = value. Lessoncostprice;
});
Rate = (rateprice/lessoncostprice) * 100;
$ ("#Rate"). Val (rate);
});
Numerical calculation of frame-jquerychange events