Subversion Repositories SmartDukaan

Rev

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

Rev 1981 Rev 2696
Line 19... Line 19...
19
		$('#frmCouponCode').submit();
19
		$('#frmCouponCode').submit();
20
	});
20
	});
21
});
21
});
22
 
22
 
23
function changeQty(obj,itempriceID,totalPriceID)	{
23
function changeQty(obj,itempriceID,totalPriceID)	{
24
	var prodID = $(obj).parent().parent().parent().parent().parent().parent().children().find("span.pro").attr("id");
24
	var prodID = $(obj).parent().parent().parent().parent().children().find("span.pro").attr("id");
25
	var quantity = parseInt(obj.value);
25
	var quantity = parseInt(obj.value);
26
 
26
 
27
	if (quantity > 5)	{
27
	if (quantity > 5)	{
28
		alert("You can not order more than 5 pieces of same product.");
28
		alert("You can not order more than 5 pieces of same product.");
29
		$(obj).focus();
29
		$(obj).focus();