Click and Call
Hey, is it possible to click on a Button, and after that the phone call a number. I think this is possible via "Run costum JavaScript". But I can't find the right code.
Thank you for your help!
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hey, is it possible to click on a Button, and after that the phone call a number. I think this is possible via "Run costum JavaScript". But I can't find the right code.
Thank you for your help!
This works: http://stackoverflow.com/questions/27...
I added click event to a button, then added Navigate to Link action and set this in the URL: tel:2125551212
Let me know if it works for you...
i want to achieve the about using java script as my tell phone number is stored in local storage variable. Any suggestions please?
Hello! Use this JS on button click
window.location.href='tel:' + localStorage.getItem('variable_name');
variable_name - is name of your variable where you store phone numbers
thank you so much! works
I tried this JS window.location.href='tel:' + localStorage.getItem('variable_name');
and I cant seem to get the tel-number to load.
Test to make sure you get the right value from local storage.
Hello I'm not able to call in iphone using
document.location.href = 'tel:+1-800-555-1234';
You can try this: https://developer.apple.com/library/i...