this functionality working fine on my local system but not on server. my actual jquery code is
$('.jeditableSalePrice').editable('/Product/DTUpdateProduct', {
id
: 'SalePrice_ID',
name
: 'value',
indicator
: 'Updating...',
tooltip
: 'Click to Change'
});
now I try by two techniques. both are working on my local but not on server 1: using @Url.Action("DTUpdateProduct", "Product")' 2: using @Url.Content("/Product/DTUpdateProduct")
//$('.jeditableSalePrice').editable('@Url.Content("/Product/DTUpdateProduct")', {
$
('.jeditablePartNumber').editable('@Url.Action("DTUpdateProduct", "Product")', {
id
: 'SalePrice_ID',
name
: 'value',
indicator
: 'Updating...',
tooltip
: 'Click to Change'
});
Now question is how I pass correct url to jquery that also run on production server ?