Subversion Repositories SmartDukaan

Rev

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

Rev 19710 Rev 19711
Line 215... Line 215...
215
				$("#addToCart").text("ADD TO CART");
215
				$("#addToCart").text("ADD TO CART");
216
				$("#addToCart").css("color", "white");
216
				$("#addToCart").css("color", "white");
217
				$("#addToCart").unbind();
217
				$("#addToCart").unbind();
218
				$("#addToCart").bind('click', function(){
218
				$("#addToCart").bind('click', function(){
219
			    	$('<form action="/storewebsite/order-details" method="POST">' +
219
			    	$('<form action="/storewebsite/order-details" method="POST">' +
220
				    	'<input name="product_id" value="' + getSeletectedItemId()+'"/>' +
220
				    	'<input name="product_id" value="' + getSelectedItemId()+'"/>' +
221
				    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
221
				    	'<input name="price" value="' + $('#mrp').text() +'"/>' +
222
			      	'</form>').submit();
222
			      	'</form>').submit();
223
				});
223
				});
224
			}
224
			}
225
			
225