second click on input type button jquery
<p>I have below code and i want to have default input type button when second clicked</p>

<pre><code>        $(function () {
            $('.inputbutton').on('click', function (e) {
                e.preventDefault();
                $(this).css("background-color", "gray");                    
            });
        });   
</code></pre>
