Problem with preventDefault()

Problem with preventDefault()


I am working with asp.net. Before the page is submitted to the
server, an ajax validation is called to confirm the update. The user
is allowed to cancel the save using client side confirm(). If the
user back out, I want to prevent the submit by calling preventDefault
(). However, jquery returns error "Member not found". Any Idea?
Here is the code:
<script type="text/javascript">
$(document).ready(function() {
$("#Button1").click(function(e) {
$.get("GetConfirmation.aspx", { param1: "test",
param2: "data" },
function(result) {
if (!confirm('Do you want to
continue?'))
e.preventDefault();
}
, "text");
});
</script>