JQuery dialog not returning to codebehind

JQuery dialog not returning to codebehind

by Thulasi Ram.S

HTML

<div id="Gridview1">
        <span>A</span> <a href="#test-A" class="achUpdate">Update</a><br />
        <span>B</span> <a href="#test-B" class="achUpdate">Update</a><br />
        <span>C</span> <a href="#test-C" class="achUpdate">Update</a><br />
    </div>

JavaScript

$(document).ready(function () {
            $('#Gridview1').find('.achUpdate').click(function (e) {
                // e.preventDefault();
                if (confirm("Are you sure you want to Update?")) {
                    //if yes button is clicked should go to codebehind
                    return true;
                } else {
                    //if no button is clicked terminate the operation
                    return false;
                }
            });
        });