I have:
function SelectSubTopics() {
$.ajax({
url: "/Administration/Tests/SelectSubTopics",
data: { DataSource: $('#DataSource').val(),
testID: $('#TestID').val(),
showAll: True
},
success: function (data) {
$('#TID').html(data);
}
});
}
I would like to pass a value of True through to the C# program which accepts a bool for the showALL parameter but I am getting a javascript error saying "SCRIPT5009: 'True' is undefined " Is there some special way to pass true?