Enviar datos con Window.location.href
<pre lang="HTML"> $('#getPrice').click(function () {
var discountAmount = $('#lblDiscountAmount').text();
var productId = $(this).parent('td').parent('tr').attr('data-productid')
alert(productId);
alert(discountAmount);
//if (!discountAmount) { return; }
location.href = "Products/helloPrice?ProductId=" + productId;
// This is not invoking the action method.
});
Precious Pygmy