Subversion Repositories SmartDukaan

Rev

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

Rev 17913 Rev 17915
Line 285... Line 285...
285
    }
285
    }
286
});
286
});
287
 
287
 
288
 
288
 
289
 
289
 
290
$(document).on('click', '.submit_check', function(){
290
$(document).on('submit', '.submit_check', function(){
291
	var formData = {
291
	var formData = {
292
        'name'              : $('#name').val(),
292
        'name'              : $('#name').val(),
293
        'line1'             : $('#line1').val(),
293
        'line1'             : $('#line1').val(),
294
        'city'    			: $('#city').val(),
294
        'city'    			: $('#city').val(),
295
        'phone'				: $('#phone').val(),
295
        'phone'				: $('#phone').val(),
296
        'state'				: $('#state').val(),
296
        'state'				: $('#state').val(),
297
        'pin'				: $('#pin').val()
297
        'pin'				: $('#pin').val()
298
    };
298
    };
299
    debugger;
299
    debugger;
300
    if (!$("#form2")[0].checkValidity()) {
300
    if (!$("#form2")[0].checkValidity()) {
301
    	$("#form2").submit();
-
 
302
    	return;
301
    	return;
303
    }
302
    }
304
    payOption = $(this).data('name');
303
    payOption = $(this).data('name');
305
    $.ajax({
304
    $.ajax({
306
                method: "POST",
305
                method: "POST",