How can I increase a counter on click?
<p>I want a counter that increases on button click.  I tried the following code, but the value printed stays the same:</p>

<pre><code>$(document).ready(function () {
    $("#gonder").click(function() {
        var baslik = document.title;
        var sayi = 1;
        var sayi1 = sayi++;

        document.title = '(' +sayi+ ')' + baslik;
    });
});
</code></pre>

<p>What how can I do my want?</p>
