DevMetric is the spot for developers to rate and review software tools.
Sign up for free to start sharing your opinion today!

Add New Tool and Write a Review


Must be registered to add and review tools.

Have an account?
  
  
Forgot Password?

New to DevMetric?


Join the Evans Data Developer Panel!

As a panelist you will:

1. Have your voice heard on hot topics, innovative technologies and key initiatives.
2. Receive points for every validated survey submission.
3. Redeem award points for valuable prizes.

SOLVE THIS CODE

What does this code do?

var thisQuestion =  ('#question'+{QID});

$('input[type="radio"]', thisQuestion).on('click', function () { 
	$('input[type="radio"]', thisQuestion).prop('disabled', false);
	$('input[type="radio"]:checked', thisQuestion).each(function(i) {
		var thisRow = $(this).closest('tr.answers-list');
		$('input[type="radio"]', thisRow).not(this).prop('disabled', true);
	});
});	

What action does this code perform?

Programming Language: JavaScript

Newsletter

Get weekly reviews sent directly to your inbox!