Hi all,
Would like to be able to replace the contents of the href attribute of one link on the page.
Have searched around Google and came across this:
$(document).ready(function(){
$("a#open").attr("href", "#");
)}
With the link been this:
<a id="open" class="open" href="contact.php">Open</a>
But it doesn't work. There were other variants of the jquery code but they also failed to work. I cant see why this doesn't work.
Any suggestions? I would like to replace the 'contact.php' with a #