Quantcast
Viewing all articles
Browse latest Browse all 17529

Submit answer after click on yes or no - by: alimeaday

Do you mean that without the delay we might end up with the wrong answer in the database?
Is the 300 ms an educated safe guess or do we need more to be 100% safe?
Would this code line work?:
$(document).ready(function() {
	$('.yes-no .radio').on('change', function(e) {
		$('#movenextbtn, #movesubmitbtn').delay(300).trigger('click');
	});
});

Viewing all articles
Browse latest Browse all 17529

Trending Articles