{"id":2220,"date":"2022-08-20T11:18:30","date_gmt":"2022-08-20T11:18:30","guid":{"rendered":"https:\/\/thegenius.co\/wp\/finlon\/live\/?page_id=2220"},"modified":"2022-08-20T11:18:30","modified_gmt":"2022-08-20T11:18:30","slug":"emi-comparison","status":"publish","type":"page","link":"https:\/\/jpj-leasing.com\/?page_id=2220","title":{"rendered":"EMI Comparison"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2220\" class=\"elementor elementor-2220\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c4b12e6 finlon-column-stretched-none elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c4b12e6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-46f150f\" data-id=\"46f150f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c5f1637 elementor-widget elementor-widget-finlon_title\" data-id=\"c5f1637\" data-element_type=\"widget\" data-widget_type=\"finlon_title.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"block-title-wrapper d-lg-flex justify-content-between\">\r\n\t\t\t<div class=\"block-title\">\r\n\t\t\t\t\t\t\t\t\t<p class=\"block-title__tagline\">COMPARE YOUR EMI<\/p><!-- \/.block-title__tagline -->\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\"block-title__title\">Comparison With Other Banks<\/h2><!-- \/.block-title__title -->\r\n\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<div class=\"block-title__desc\"><p>Nullam vel nibh facilisis lectus fermentum ultrices quis non risus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In hac habitasse platea dictumst.<\/p><\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6638cb2 elementor-widget elementor-widget-finlon_emi_compare_widget\" data-id=\"6638cb2\" data-element_type=\"widget\" data-widget_type=\"finlon_emi_compare_widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"loan-calculator\">\r\n\t\t\t<div class=\"loan-comparison__body\" id=\"compare-emi-box\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col-lg-6\">\r\n\t\t\t\t\t\t<div class=\"slider-box\">\r\n\t\t\t\t\t\t\t<div class=\"main-slide\">\r\n\t\t\t\t\t\t\t\t<div class=\"single-loan-header\">\r\n\t\t\t\t\t\t\t\t\t<h4>Loan Amount<\/h4>\r\n\t\t\t\t\t\t\t\t\t<input class=\"form-control\" type=\"text\" id=\"principal-amount\" name=\"principal-amount\" value=\"100000\" onkeypress='return onlynumeric(event)'>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div id=\"finlon-principal-slide\">\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"loan-counter-value\">\r\n\t\t\t\t\t\t\t\t\t<span>$<\/span>\r\n\t\t\t\t\t\t\t\t\t<h6 id=\"principal-show\"><\/h6>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div><!-- main-slide -->\r\n\t\t\t\t\t\t<\/div><!-- slider-box -->\r\n\t\t\t\t\t<\/div><!-- col-lg-6 -->\r\n\t\t\t\t\t<div class=\"col-lg-6\">\r\n\t\t\t\t\t\t<div class=\"slider-box\">\r\n\t\t\t\t\t\t\t<div class=\"main-slide\">\r\n\t\t\t\t\t\t\t\t<div class=\"single-loan-header\">\r\n\t\t\t\t\t\t\t\t\t<h4>Loan Years<\/h4>\r\n\t\t\t\t\t\t\t\t\t<input class=\"form-control\" type=\"text\" id=\"loan-year\" name=\"loan-year\" value=\"3\" onkeypress='return onlynumeric(event)'>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div id=\"finlon-year-slide1\">\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t<div class=\"loan-counter-value\">\r\n\t\t\t\t\t\t\t\t\t<h6 id=\"totalyear-show\"><\/h6>\r\n\t\t\t\t\t\t\t\t\t<span>Years<\/span>\r\n\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div><!-- main-slide -->\r\n\t\t\t\t\t\t<\/div><!-- slider-box -->\r\n\t\t\t\t\t<\/div><!-- col-lg-6 -->\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"col-md-12\">\r\n\t\t\t\t\t\t<div class=\"compare-table table-responsive\">\r\n\t\t\t\t\t\t\t<table class=\"table\">\r\n\t\t\t\t\t\t\t\t<thead>\r\n\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t<th>Banks<\/th>\r\n\t\t\t\t\t\t\t\t\t\t<th>Interest Rate (p.a.)<\/th>\r\n\t\t\t\t\t\t\t\t\t\t<th>Processing Fees<\/th>\r\n\t\t\t\t\t\t\t\t\t\t<th>EMI<\/th>\r\n\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t<\/thead>\r\n\t\t\t\t\t\t\t\t<tbody>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tabc Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=8.4 data-high-interest=12.6><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 2.5%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tdef Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=9.6 data-high-interest=13.85><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>**$20<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tghi Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\"  data-high-interest=6.21><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 2.8%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tjkl Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=5.9 ><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>1.9% - 2%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tmno Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=7.9 data-high-interest=13.2><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>**$35<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpqr Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=9.35 data-high-interest=12.35><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 3.5%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tstu Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=8.5 data-high-interest=9.6><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 2.75%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tvwx Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=9.5 data-high-interest=14><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 6.8%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<tr>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"#\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\txyz Bank\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"interest-rate\" data-low-interest=10.49 data-high-interest=17.99><\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td>Upto 5.4%<\/td>\r\n\t\t\t\t\t\t\t\t\t\t\t<td class=\"calculated-emi\"><\/td>\r\n\t\t\t\t\t\t\t\t\t\t<\/tr>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/tbody>\r\n\t\t\t\t\t\t\t<\/table>\r\n\t\t\t\t\t\t<\/div><!-- compare-table -->\r\n\t\t\t\t\t<\/div><!-- col-md-12 -->\r\n\t\t\t\t\t\t\t\t\t<\/div><!-- \/.row -->\r\n\t\t\t<\/div><!-- \/.loan-comparison__body -->\r\n\t\t\t<div class=\"loan-comparison__bottom\">\r\n\t\t\t\t\t\t\t<div class=\"lowest-emi-note\">\r\n\t\t\t\t\t<span class=\"indicator\"><\/span> <span>This indicates lowest emi.<\/span>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"terms-conditions\">\r\n\t\t\t\t\t<span>**Tearms and conditions apply as per banks.<\/span>\r\n\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<\/div><!-- loan-comparison__bottom -->\r\n\t\t<\/div><!-- \/.loan-calculator -->\r\n\t\t\t<script type=\"text\/javascript\">\r\n\t\t\tjQuery( function( $ ) {\r\n\t\t\t\tif ($('#compare-emi-box').length) {\r\n\t\t\t\t\t\t$(\"#compare-emi-box table tbody tr\").each(function(){\r\n\t\t\t\t\t\tvar self = $(this)\r\n\t\t\t\t\t\tvar low_rate = self.find('.interest-rate').data('low-interest')\r\n\t\t\t\t\t\tvar high_rate = self.find('.interest-rate').data('high-interest')\r\n\t\t\t\t\t\tif (low_rate && high_rate) {\r\n\t\t\t\t\t\t\tself.find('.interest-rate').text(low_rate+'% - '+high_rate+'%')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (!low_rate && high_rate) {\r\n\t\t\t\t\t\t\tself.find('.interest-rate').text('Up to '+high_rate+'%')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if (low_rate && !high_rate) {\r\n\t\t\t\t\t\t\tself.find('.interest-rate').text(low_rate+'% Onwards')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$(\"#principal-amount, #loan-year\").blur(function(){\r\n\t\t\t\t\t\t\temi_calculation();\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tprincipal_value();\r\n\t\t\t\t\t\t\tloan_year_value();\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t$(\"#principal-amount, #loan-year\").on(\"keyup\", function(event){\r\n\t\t\t\t\t\t\tif (event.keyCode == 13) {\r\n\t\t\t\t\t\t\t\temi_calculation();\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\tprincipal_value();\r\n\t\t\t\t\t\t\t\tloan_year_value();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t})\r\n\t\t\t\t\temi_calculation()\r\n\t\t\t\t\tslider_change();\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tfunction emi_calculation(){\r\n\t\t\t\tvar low_emi_arr = [];\r\n\t\t\t\t$(\"#compare-emi-box table tbody tr\").each(function(){\r\n\t\t\t\t\tvar self = $(this)\r\n\t\t\t\t\tvar low_rate = self.find('.interest-rate').data('low-interest')\r\n\t\t\t\t\tvar high_rate = self.find('.interest-rate').data('high-interest')\r\n\t\t\t\t\tvar principal_rate = $(\"#principal-amount\").val();\r\n\t\t\t\t\tvar loan_year = $(\"#loan-year\").val();\r\n\r\n\t\t\t\t\tif (low_rate && high_rate) {\r\n\t\t\t\t\t\tvar low_emi = loancalculate(principal_rate,low_rate,loan_year);\r\n\t\t\t\t\t\tvar high_emi = loancalculate(principal_rate,high_rate,loan_year);\r\n\t\t\t\t\t\tself.find('.calculated-emi').html('$<span class=\"low_emi\">'+low_emi+'<\/span> - $<span class=\"high_emi\">'+high_emi+'<\/span>')\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (!low_rate && high_rate) {\r\n\t\t\t\t\t\tvar high_emi = loancalculate(principal_rate,high_rate,loan_year);\r\n\t\t\t\t\t\tself.find('.calculated-emi').html('Up to $<span class=\"high_emi\">'+high_emi+'<\/span>')\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (low_rate && !high_rate) {\r\n\t\t\t\t\t\tvar low_emi = loancalculate(principal_rate,low_rate,loan_year);\r\n\t\t\t\t\t\tself.find('.calculated-emi').html('$<span class=\"low_emi\">'+low_emi+'<\/span> Onwards')\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(low_rate){\r\n\t\t\t\t\t\t$emi_val_int = parseFloat(self.find('.calculated-emi .low_emi').text().replace(\/,\/g,''))\r\n\t\t\t\t\t\tlow_emi_arr.push($emi_val_int)\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(!low_rate && high_rate){\r\n\t\t\t\t\t\t$emi_val_int = parseFloat(self.find('.calculated-emi .high_emi').text().replace(\/,\/g,''))\r\n\t\t\t\t\t\tlow_emi_arr.push($emi_val_int)\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tvar m = Math.min(...low_emi_arr);\r\n\r\n\t\t\t\t$(\"#compare-emi-box table tbody tr\").each(function(){\r\n\t\t\t\t\tvar self = $(this)\r\n\t\t\t\t\tif (self.find('.calculated-emi .low_emi').text().replace(\/,\/g,'') == m) {\r\n\t\t\t\t\t\tself.addClass('lowest_emi')\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse if (self.find('.calculated-emi .high_emi').text().replace(\/,\/g,'') == m) {\r\n\t\t\t\t\t\tself.addClass('lowest_emi')\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t}\r\n\r\n\t\t\tfunction loancalculate(principal_rate,interest_rates,loan_year){\r\n\t\t\t\tvar loanAmount=principal_rate;\r\n\t\t\t\tvar numberOfMonths=loan_year * 12;\r\n\t\t\t\tvar rateOfInterest=interest_rates;\r\n\t\t\t\tvar monthlyInterestRatio = (rateOfInterest\/100)\/12;\r\n\t\t\t\tvar top = Math.pow((1+monthlyInterestRatio), numberOfMonths);\r\n\t\t\t\tvar bottom = top -1;\r\n\t\t\t\tvar sp = top \/ bottom;\r\n\t\t\t\tvar emi = ((loanAmount * monthlyInterestRatio) * sp);\r\n\t\t\t\tvar full = numberOfMonths * emi;\r\n\t\t\t\tvar interest = full - loanAmount;\r\n\t\t\t\tvar int_pge = (interest \/ full) * 100;\r\n\t\t\t\t$(\"#tbl_int-pge\").html(int_pge.toFixed(2)+\" %\");\r\n\t\t\t\t$(\"#tbl_loan_pge\").html((100-int_pge.toFixed(2)+\" %\"));\r\n\t\t\t\tvar emi_str = emi.toFixed(2).toString().replace(\/,\/g,\"\").replace(\/\\B(?=(\\d{3})+(?!\\d))\/g, \",\");\r\n\t\t\t\treturn emi_str;\r\n\t\t\t}\r\n\r\n\t\t\tfunction slider_change(){\r\n\t\t\t\t$(\"#finlon-principal-slide\").slider({\r\n\t\t\t\t\trange: \"min\",\r\n\t\t\t\t\tmin: 30000,\r\n\t\t\t\t\tmax: 500000,\r\n\t\t\t\t\tvalue: 50000,\r\n\t\t\t\t\tstep: 1000,\r\n\t\t\t\t\tslide: function (event, ui) {\r\n\t\t\t\t\t\t$(\"#principal-show\").text(ui.value);\r\n\t\t\t\t\t\t$('#principal-amount').val(ui.value);\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\tchange:function(){\r\n\t\t\t\t\t\temi_calculation();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t$(\"#principal-show\").text($(\"#finlon-principal-slide\").slider(\"value\"));\r\n\t\t\t\t$('#principal-amount').val($('#finlon-principal-slide').slider('value'));\r\n\t\t\t\t\/\/ years\r\n\t\t\t\t$(\"#finlon-year-slide1\").slider({\r\n\t\t\t\t\trange: \"min\",\r\n\t\t\t\t\tmin: 2,\r\n\t\t\t\t\tmax: 60,\r\n\t\t\t\t\tvalue: 3,\r\n\t\t\t\t\tstep: 1,\r\n\t\t\t\t\tslide: function (event, ui) {\r\n\t\t\t\t\t\t$(\"#totalyear-show\").text(ui.value);\r\n\t\t\t\t\t\t$(\"#loan-year\").val(ui.value)\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t},\r\n\t\t\t\t\tchange :function() {\r\n\t\t\t\t\t\temi_calculation();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t$(\"#totalyear-show\").text($(\"#finlon-year-slide1\").slider(\"value\"));\r\n\t\t\t\t$('#loan-year').val($('#finlon-year-slide1').slider('value'));\r\n\t\t\t}\r\n\r\n\t\t\tfunction principal_value(){\r\n\t\t\t\t$text_val=$(\"#principal-amount\").val().toString()\r\n\t\t\t\t$new_text_val = parseInt($text_val.replace(\/,\/g,''))\r\n\t\t\t\tvar max=$(\"#finlon-principal-slide\").slider(\"option\", \"max\")\r\n\t\t\t\tif($new_text_val > max) {\r\n\t\t\t\t\t$(\"#principal-amount\").val(max)\r\n\t\t\t\t}\r\n\t\t\t\tvar min=$(\"#finlon-principal-slide\").slider(\"option\", \"min\")\r\n\t\t\t\tif ($new_text_val < min) {\r\n\t\t\t\t\t$(\"#principal-amount\").val(min)\r\n\t\t\t\t}\r\n\t\t\t\t$(\"#finlon-principal-slide\").slider({\r\n\t\t\t\t\trange: \"min\",\r\n\t\t\t\t\tmin: 30000,\r\n\t\t\t\t\tmax: 500000,\r\n\t\t\t\t\tvalue: $new_text_val,\r\n\t\t\t\t\tstep: 1000,\r\n\t\t\t\t\tslide: function (event, ui) {\r\n\t\t\t\t\t\t$(\"#principal-show\").text(ui.value);\r\n\t\t\t\t\t\t$('#principal-amount').val(ui.value);\r\n\t\t\t\t\t\tloancalculate();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t$(\"#principal-show\").text($(\"#finlon-principal-slide\").slider(\"value\"));\r\n\t\t\t\t\tloancalculate();\r\n\t\t\t}\r\n\t\t\tfunction loan_year_value(){\r\n\t\t\t\t$loan_year1 = $(\"#loan-year\").val()\r\n\t\t\t\tvar max = $(\"#finlon-year-slide1\").slider(\"option\", \"max\");\r\n\t\t\t\t\tif ($loan_year1 > max) {\r\n\t\t\t\t\t\t$(\"#loan-year\").val(max)\r\n\t\t\t\t\t}\r\n\t\t\t\tvar min = $(\"#finlon-year-slide1\").slider(\"option\", \"min\");\r\n\t\t\t\t\tif ($loan_year1 < min) {\r\n\t\t\t\t\t\t$(\"#loan-year\").val(min)\r\n\t\t\t\t\t}\r\n\t\t\t\t\t$(\"#finlon-year-slide1\").slider({\r\n\t\t\t\t\trange: \"min\",\r\n\t\t\t\t\tmin: 2,\r\n\t\t\t\t\tmax: 60,\r\n\t\t\t\t\tstep: 1,\r\n\t\t\t\t\tvalue: $loan_year1,\r\n\t\t\t\t\tslide: function (event, ui) {\r\n\t\t\t\t\t\t$(\"#totalyear-show\").text(ui.value);\r\n\t\t\t\t\t\t$(\"#loan-year\").val(ui.value)\r\n\t\t\t\t\t\tloancalculate();\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t\t\t$(\"#totalyear-show\").text($(\"#finlon-year-slide1\").slider(\"value\"));\r\n\t\t\t\t\tloancalculate();\r\n\t\t\t}\r\n\t\t\tfunction onlynumeric(event)\r\n\t\t\t{\r\n\t\t\t\tvar x = event.which || event.keycode;\r\n\t\t\t\tif((x>=48 && x<=57 || x==46)){\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t\telse\r\n\t\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t<\/script>\r\n\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>COMPARE YOUR EMI Comparison With Other Banks Nullam vel nibh facilisis lectus fermentum ultrices quis non risus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In hac habitasse platea dictumst. Loan Amount $ Loan Years Years Banks Interest Rate (p.a.) Processing Fees EMI abc Bank Upto 2.5% def Bank **$20 ghi Bank Upto 2.8% jkl [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-template\/full-width-page-template.php","meta":[],"_links":{"self":[{"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=\/wp\/v2\/pages\/2220"}],"collection":[{"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2220"}],"version-history":[{"count":0,"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=\/wp\/v2\/pages\/2220\/revisions"}],"wp:attachment":[{"href":"https:\/\/jpj-leasing.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}