Cooley Posted February 3, 2013 Share Posted February 3, 2013 Hello all I would like to know how to register a click event in JQuery mobile. I had this fully working DOM based game which has a start button to start game play. All I did for it not work is add references to JQuery mobile CSS and Javascript, and the following data-role attributes: page,header,content, and footer. After that the start button register but all of the which suppose to run on page load works. Link to comment Share on other sites More sharing options...
callumacrae Posted February 5, 2013 Share Posted February 5, 2013 Why can't you just use the normal jQuery method for detecting clicks? $('button#start').click(function () { // Do stuff here}); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now