简体   繁体   中英

create link from html input text

I want to know if it is possible to generate a link ( <a href = "tel : ) from html inputs. I explain myself;

I have 3 html text inputs and those 3 inputs must be concatenated to result in telephone dialing. Example

view image

In simple words I need that the result be a <a href = "tel : so I can click and redirect to a softphone

Thanks :)

There are several ways to implement this.

Here is a similar article and you can find out the preferable answer there.

how to call a phone number through javascript without using tag?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM