I am new to jQuery and have made a page with some buttons i want to do some actions when they are clicked.
I have made a jsFiddle with my code.
When I execute the code on my laptop with chrome, it works fine. But when I execute it from my mobile phone (also with chrome) it do not activate the function.
I have tried to google for hours to find a solution and have tried something like:
$(document).on('pagebeforeshow', '#front', function(){
$(document).on('click', '#ssStart', function(){
alert('Alerted!');
});
});
but I cannot get it to work.
Can anyone please help me?
`?? Please... your demo is a good principle of minified issue example, but please, at least close your elements adequatey.
– Roko C. Buljan Jun 01 '15 at 20:43. As I see it it is closed with
– Mads Jun 01 '15 at 20:48