Hello, I have this one link that's a link to to a local page, and it also has a onclick function that's supposed to refresh an iframe on the destination page.
It works ok in appbuilder simulator, but when i try it at phone, nothing happens. How is that possible?
Link is like this(example) <a href="components/home/view.html" onclick="refreshIframe();"> Link </a>
I added alert("hello"); to that refreshIframe function so I could see if it is run, but nothing. Any help?
4 Answers, 1 is accepted
We are currently not aware of issues on click of a button and I could not reproduce any after deploying my test app (with the button definition as yours) on Android phone. Would you please let me know if it is not working on any phone or on a specific vendor only? Does it work if you directly call alert("hello"); onclick (onclick="on();")? If so, then you may check if the script with the refreshIframe() function is being loaded?
In case there is still an issue, would you open a new support ticket and share with us a small demo illustrating the problem which we could verify on our side? That way we will be able to advice you further.
Regards,
Dimitrina
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Possibly related to this issue?
http://9to5mac.com/2016/03/27/some-users-reporting-iphone-crashes-on-ios-9-3-when-tapping-links-in-safari-and-other-apps/
http://www.independent.co.uk/life-style/gadgets-and-tech/news/ios-93-bug-makes-some-phones-break-if-people-click-on-links-users-claim-a6956036.html
http://www.engadget.com/2016/03/28/ios-9-3-web-link-bug/
https://discussions.apple.com/thread/7505840?start=0&tstart=0
Thank you for sharing the links, this could indeed be the reason.
@Lasse, in case there is still an issue with older versions or on a different OS and it seems not related to the links Jim shared, would you open a new support ticket and share with us a small demo illustrating the problem? That way we can verify it on our side.
Regards,
Dimitrina
Telerik
Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.
