I have a question about retrofitting the following code to gracefully handle noscript scenario.
Call me <a href="" onclick="activateContact(); return false;" unselectable="on"> <span>My Contact</span> </a>
I’d like to subsitute the line above in case of noscript with:
Call me at 1-800-555-1525.
Thanks in advace.
script tag is used for javaScript. Same way there is tag which gets in action when the Javascript is diabled in browser. So to substitute your anchor with noscript data when JS is disbaled in browser. Use this