View Full Version : phone number reocnition

2 Nov 2011, 5:12 AM

I updated a panel by an Ajax call, to display a simple html table in the body of the panel.
I have the following code:

url: this.url,
success: function(rs){
scope: this

It is working very well, but I have some phone numbers and email addresses in this text. And I want to be able to direct call these phone numbers. Right now I cannot even copy-paste those phone numbers, so my users have to note into external support the phone numbers if they want to call them.
Is there a way to recognise the phone numbers and call them directly with one tap?

Thank you very much!

2 Nov 2011, 7:03 AM
put them in a link and the href to the appropriate way.. for phone numbers, href='tel:18001111111'