16442

How to remove phone number link on Iphone?

I have mobile site which have Simple <strong>Span</strong> having Phone number in it.

<span class="order1-button">999-120-9191</span>

Problem: when i open my page in iphone it have link on phone number. When i click on it option come to call.

<strong>How to remove it??</strong>

This is link of Fiddle. When you open it on iphone you also find it.

On other device button is simple without link which i need.

Answer1:

You can add a meta tag to your page header to prevent mobile safari turning telephone numbers into links

<meta name="format-detection" content="telephone=no">

Answer2:

I believe you can use dataDetectorTypes to tell the web view what links to ignore.

webview.dataDetectorType = UIDataDetectorTypeNone;

See the docs for all the types.

Answer3:

You can put the text-decoration:none in that class also.

Answer4:

Remove text decorations.

<span text-decorations="none" class="order1-button">999-120-9191</span>

Recommend

  • Retrieving a contacts notes
  • Installing apk from within application in android
  • How to merge two Request in Laravel
  • Unique SMS sender id?
  • Why does Sencha 2 only work in Webkit browsers?
  • retrieving data from url in iphone
  • Access user's phone number on iOS 7
  • Android cannot disable cut copy paste
  • Eclipse MTJ doesn't see Java ME SDK 3.0 devices
  • blade.php method outputting it's result to the form
  • Unable to install Git-core+svn by MacPorts
  • Django simple Captcha “No module named fields” error
  • Webgrid not refreshing after delete MVC
  • How do I access an unhandled exception in an MVC Error view?
  • Could not find rake using whenever rails
  • Jquery UI tool tip close icon
  • Google Custom Search with transparent background
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • Sony Xperia Z Tablet not found by adb
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Can I make an Android app that runs a web view in Chrome 39?
  • vba code to select only visible cells in specific column except heading
  • htaccess rewriting URLs with multiple forward slashes
  • Display Images one by one with next and previous functionality
  • jquery mobile loadPage not working
  • Web-crawler for facebook in python
  • Traverse Array and Display in markup
  • Data Validation Drop Down Box Arrow Disappearing
  • A cron job substitute?
  • How do you join a server to an Active Directory (domain)?
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Qt: Run a script BEFORE make
  • LevelDB C iterator
  • Linking SubReports Without LinkChild/LinkMaster
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?
  • To Get the radio button value in ruby on rails