jquery mobile - Cannot use click action in jquerymobile -


I tried

  • Tried to add click function to the object, but it seems that it's okay (Function () {window.alert ('test');});). });

    I also used Ajax loading>

      $ (document) .bind ("mobileinit", also disabled with function () {ajaxEnabled: false;});   

    But with the same result.

    Where can the problem be?

    Thanks for any advice.

    .ready () does not work in jquery mobile document and does not use . Difficult. Click (). There are other events such as PageBern Cut, check for a list of page crackets events.

      $ (document) .live ('pageshow', function () {$ ("# vibrateBtn"). Live ('click', function () {Window.alert ('test' );});});    

  • Comments