Subversion Repositories SmartDukaan

Rev

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

Rev 2811 Rev 2827
Line 117... Line 117...
117
		var productTwo = productIdNames[productName];
117
		var productTwo = productIdNames[productName];
118
		if(typeof productTwo == 'undefined'){
118
		if(typeof productTwo == 'undefined'){
119
			alert("Please select a valid product");
119
			alert("Please select a valid product");
120
			return false;
120
			return false;
121
		}
121
		}
122
		var productOne = $("#catelog_id").val();
122
		var productOne = $("#catalog_id").val();
123
		window.location = "/compare-mobile-phones?p1="+productOne+"&p2="+productTwo;	
123
		window.location = "/compare-mobile-phones?p1="+productOne+"&p2="+productTwo;	
124
	}
124
	}
125
    
125
    
126
    $("#accessories table td div a").live('click', function() {
126
    $("#accessories table td div a").live('click', function() {
127
    	var productId = $(this).parent().parent().parent().children().find('input[type=checkbox]').val();
127
    	var productId = $(this).parent().parent().parent().children().find('input[type=checkbox]').val();