Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jquery mobile make a phone call when pressing a button

I'm building a mobile website using HTML 5 and CSS with Query mobile

I have a button like this

<a data-role="button" data-icon="grid" >Contact me for a meeting</a>

I would like add an "action" so when a user click he can call a phone number.

Please note the application is running in the browser, I would like to know if there is a build in function in query or other solution. Thanks

like image 622
GibboK Avatar asked Jul 25 '12 10:07

GibboK


1 Answers

Take a look here - http://jquerymobile.com/demos/1.0a2/docs/pages/link-formats.html

I think the tel: protocol will do it for you

like image 96
Zoltan Toth Avatar answered Nov 03 '22 00:11

Zoltan Toth