I am having trouble changing the href attribute of my HTML code using Jquery
My HTML code is
<div id="main-logo"><a href="http://local.winemag.com"></a></div>
I am using the following JQuery code to change my link but for some reason it's not working.
$("#main-logo a[href]").attr('href', 'http://www.test.com/');