View Full Version : problem to dial phone call on button click

manish khamar
6 Sep 2011, 5:18 AM

I have problem with dial phone call

It show me alert that safari can not open the page because the address is invalid.


var tapHandler = function(button, event){
Ext.Msg.confirm('External Link', 'Call ' + button.contactName + "?", function(res){
if (res == 'yes') {
window.location = button.callUrl;
}, this);

var callButton = new Ext.Button({
text: 'Call Now',
callUrl: 'tel:1-408-555-5555',
contactName: 'Ben M',
handler: tapHandler


pls help me i try lots but it not working