C# event using jQuery
<p>I need ASP.NET C# button click event to be done by the jQuery. The following sample code taken from my project in which instead of <code>document.write('Passed')</code> I need C# button click even to be done. How it can be done?</p>

<p>Sample code in which button click <code>Button1_Click</code> to be replaced instead of <code>document.write</code></p>

<pre><code>$("#slider").draggable({
        axis: 'x',
        containment: 'parent',
        drag: function(event, ui) {
            if (ui.position.left &gt; 550) {
                document.write('Passed');
                $("#well").fadeOut();
            } else {
            }
        }
</code></pre>
