How can I make this work? variable scope contains either Menu or Content. So i need it to find a input with the id Scope_Menu or Scope_Content depending on the variable scope.
var scope = $(this).data('scope');
$('#frmEditPagevar').find('input[id="Scope_ + scope"]').prop("checked", true);