How to change the href value of a hyperlink in jQuery

How can we change the href for a hyperlink using jQuery?


  • DavidMDavidM USA
    edited January 2014

    $("a[href='']").attr('href', '')

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion