title: How to make dynamic phone number clickable for mobile users
body: <p>I have phone numbers on my website that are automatically inserted via a JavaScript to display either a default phone number (that's defined within the primary JavaScript) or change to a variable phone number if the webpage is accessed by a URL string with the phone number in it - for example: </p>
  
  <pre><code>http:www.website.com?tfid=8005551212 
  </code></pre>
  
  <p>What I need to do is make the phone numbers clickable for mobile users so that whichever phone number appears they can click it and it will call the phone number. </p>
  
  <p>I understand that if you wrap the phone number with an anchor with the tel: attribute it will launch the click-to-call function, but how can the tag be written so it will allow for the phone number variable to be passed? ex: </p>
  
  <pre>&lt;a href="tel:<b>variable telephone number</b>"><b>variable telephone number</b>&lt;/a></pre>