As I am working on Asp.Net MVC Application, in my application I am using jQuery.POST method to submit a form.
jQuery.POST
e.g.
jQuery.post(\'/Product/Sa
How about:
var url = '<%= Html.BuildUrlFromExpression(c => c.Save(":productId")) %>';
You could later replace the url with the actual value in your post URL.
url.replace(':productId', $productId);