You can solve this using the method below .
Use unbind first and then bind as shown below :
<script type="text/javascript"> $("#ButtonSubmit").unbind('click').bind('click', function () { alert('Clicked'); return false; </script>
Update: If you have a method on , you can use this as shown below.
Note. When you use the off method, removing the event handler of the previous click and using the on method it adds a new one. B'cos from this does not allow 2 times.
<script type="text/javascript"> $('#ButtonSubmit').off('click').on('click', function(){ alert('Clicked'); return false; </script>
Sampath
source share