A native control

Works out of the box



          
            <button type="button" name="button" class="btn">A button</button>
            <script type="text/javascript">
              $('.btn').on('click', function() {
                alert('you clicked me')
              });
            </script>