Sam Teng Wong
Sam Teng Wong

Reputation: 2439

Mobile Phone : automatic call function

Good Day everyone,

I would like to ask if it is possible to automatically call the dialed number in mobile..

here's my code.

    <a href="tel:111-111-1111" data-rel="external"">CALL NOW!  111-111-1111</a>

the code is only dialing the number 111-111-1111.. but what I want is after dialing the number, the mobile will do the call function... is it possible in javascript?

Upvotes: 0

Views: 200

Answers (1)

sesamechicken
sesamechicken

Reputation: 1981

If you're asking if it's possible to override the os and initiate an actual call via JavaScript, then no.

The closest thing would be to fire a click handler on your anchor with the tel type href which should bring up a dialpad or prompt for the user to confirm the call.

Upvotes: 2

Related Questions