Subversion Repositories SmartDukaan

Rev

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

Rev 3101 Rev 3182
Line 19... Line 19...
19
);
19
);
20
 
20
 
21
$("input[type='radio']").click(
21
$("input[type='radio']").click(
22
	function(){
22
	function(){
23
		var contents = $(this).parent().contents();
23
		var contents = $(this).parent().contents();
24
		var payment_method = contents.get(contents.index(this)+1);
24
		var payment_method = contents.get(contents.index(this) + 2);
25
		//Appending the value to differentiate between the cases of cards issued inside and out of India.
25
		//Appending the value to differentiate between the cases of cards issued inside and out of India.
26
		var payment_method_text = $(payment_method).text() + '-' + $(this).val(); 
26
		var payment_method_text = $(payment_method).text() + '-' + $(this).val();
27
		trackEventWithGA('Payment Option', payment_method_text, "");
27
		trackEventWithGA('Payment Option', payment_method_text, "");
28
	}
28
	}
29
);
29
);
30
 
30
 
31
function verifyPaymentModeSelectionForm(formName){
31
function verifyPaymentModeSelectionForm(formName){