Sunday 15 September 2013

cordova - iOS plugin for PhoneGap not called when click -


I use an IOS plugin for phonegapps, when I call it directly, my plugin works fine The problem occurs when I call my plugin on the click event

  call NativePlugin ('success'); // work fine $ (".button"). ('TouchStart', function () {callNativePlugin ('success'); // not working});    

Are you sure the "button" selector is matching an HTML element Page?

is the call ("TouchStart Job"); Call NativePlugin ('success'); // Not working ?? });

No comments:

Post a Comment