Is it possible to redirect the end-user on checking/unchecking checkboxes ? How, please ?
I've tried to redirect him using get method
with this code
HTML
<form><input type="checkbox" name="fixee" value="true" style="margin-left:40px;margin-right:3px;" /><input type="checkbox" name="nonFixee" value="true" style="margin-left:10px;margin-right:3px;" /></form>
jQuery
$("input[type='checkbox']").change(function () {
if ($("input[name='fixee']").prop('checked') && $("input[name='nonFixee']").prop('checked')) {
alert('2');
}
else if ($("input[name='fixee']").prop('checked') && $("input[name='nonFixee']").prop('checked')) {
alert('3');
}
else{
alert('1');
}
});
I'm coding this in Visual Studio the ~
means the root folder of the project.
Any brilliant idea, please ?