How to change link if JS is disable and enable ?

Posted by metal-gear-solid on Stack Overflow See other posts from Stack Overflow or by metal-gear-solid
Published on 2010-05-21T17:22:46Z Indexed on 2010/05/21 17:30 UTC
Read the original article Hit count: 153

Filed under:
|
|

I need if JS is enabled then this link will be this

<a href="#" class="collops">see sitemap</a>

And is js is disabled then link should be this

<a href="http://stackoverflow.com" class="collops">see sitemap</a>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript