Subversion Repositories SmartDukaan

Rev

Rev 1761 | Rev 1922 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1761 Rev 1919
Line 64... Line 64...
64
function updateEstimate(itemId)	{
64
function updateEstimate(itemId)	{
65
	itemId = itemId || $("#item_id").val();
65
	itemId = itemId || $("#item_id").val();
66
	
66
	
67
	jQuery.ajax({
67
	jQuery.ajax({
68
		type: "GET",
68
		type: "GET",
69
		url: "../estimate/" + $("#zipcode").val() + "_" + itemId,
69
		url: "/estimate/" + $("#zipcode").val() + "_" + itemId,
70
		beforeSend: function()	{
70
		beforeSend: function()	{
71
			$("#days").html("<img src='../images/loader_l.gif'>");
71
			$("#days").html("<img src='../images/loader_l.gif'>");
72
		},
72
		},
73
		success: function(msg)	{
73
		success: function(msg)	{
74
			$("#shipping_time").html(msg);
74
			$("#shipping_time").html(msg);