Try to add a pointer cursor to the button and use .on to bind the click event.
$('#button1').css('cursor','pointer');
$(document).on('click', '#button1', function(event) {
event.preventDefault();
alert('button1');
});
More Related Contents:
- Can you autoplay HTML5 videos on the iPad?
- jQuery click events not working in iOS [duplicate]
- Screen orientation ios
- iOS Safari – How to disable overscroll but allow scrollable divs to scroll normally?
- How to make my ‘click’ function work with iOS
- Cordova 3.4 iOS white screen after splash
- jQuery .load() call doesn’t execute JavaScript in loaded HTML file
- JQuery: Remove duplicate elements?
- Regular expression field validation in jQuery
- Callback of .animate() gets called twice jquery
- How to create separate Fancybox galleries on the same page?
- jQuery-UI is not working in my userscript without CSS, or with customization?
- Multiple Parameters for jQuery selector?
- jQuery DataTables – Filter column by exact match
- jQuery : eq() vs get()
- How to fade loop background images?
- Why is z-index ignored with position:static?
- Count elements with jQuery
- how can I use data posted from ajax in flask?
- jQuery Ajax returning 404 Error, but correct Response
- JQuery click event works only once
- How to cancel a jquery.load()?
- jQuery.post( ) .done( ) and success:
- How to use getJSON, sending data with post method?
- Add slides to Bootstrap 3 carousel dynamically using jQuery
- jQuery show for 5 seconds then hide
- jQuery set radio button
- jQuery: How to use each starting at an index other than 0
- Targeting multiple forms to send via ajax (jquery)
- Move list item to top of unordered list using jQuery