Skip to main content
Freespee is now Kaisa, read more: here

Search

Browse our Knowledge Base

Can I replace a phone number on click?

Comments

2 comments

  • JC Mengant
    I think the doOnClick function should be : function doOnClick() { var a = document.getElementById('nr'); __fs_dncs_instance.getNumber( function(ref,res) { ref.innerHTML=res.local; }, a, '+44201234567', 'advid' ); }
    0
  • Tobias Lindgren
    Hi! Thanks for helping out, you're right there was a small typo in the example, I've updated it now. Cheers, /Tobias
    0

Please sign in to leave a comment.