I want to redirect to another page when a checkbox is clicked.
Change:
alert(this.val());
To:
alert($(this).val());
$(this)
refers to checkbox you are after.
You can also simply use:
this.value
So you can modify your code like this:
$(document).ready(function(){
jQuery(".cbno").click(function(e){
e.preventDefault();
alert(this.value);
//window.location = this.value;
});
});