javascript - Phonegap button onclick on Ios -
I have phonegap in Android devices, and their work is fine.
There is a problem with firing javascript function on the iOS version click button. I use the angulars:
& lt; Button class = "grip" ng-click = "recordound ()" & gt; Grabar & lt; / Button & gt;
This button does not work in iOS version but works in Android.
Without angular (onclick = ...), there is a similar problem ..
Thanks!
PD: I use this example to use an example:
And its work is fine! -_- But I think that's not the best way. It's better with the button.
PD2: Okay! I resolve using this problem:
& lt; Button class = "grab" onclick = "recordsass ();" & Gt; Grabar & lt; / Button & gt;
But I do not understand why not ng-click.
Comments
Post a Comment