Salar
Salar

Reputation: 5509

href=“tel:” # symbol in number is not shown

I want this number "*3*123#" to be inserted as the tel number. but upon clicking link from android devices the # sign omitted and the number to be dialed is *3*123.I have also tried all of these codes but none of them could do the job.

<a href="tel:*3*123#">

<a href="tel:*3*123&num;">

Upvotes: 2

Views: 313

Answers (2)

Pouya Khalilzad
Pouya Khalilzad

Reputation: 1787

try this code

<a href="tel:*3*123%23" >Call us!</a>

Upvotes: 3

user5986440
user5986440

Reputation:

You can achieve this without JS, by using'&#35', which is the equivalent to &amp => & for the # symbol.

I.e:

<a href="tel:*3*123&#35;">tel:*3*123&#35;</a>

Upvotes: 0

Related Questions