Just trying to replace the hyperlink text and I’m not finding a way to do this… I tried the code below, but, I get a syntax error?
EDIT
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(function() {
if($j("a").text() == "Contact") {
$j("a").text() = "Connect");
}
});
</script>
You have one additional bracket and the assignment is wrong.
instead of
Looks like you just copied and pasted the code from the condition and changed
ContacttoConnect. Be careful with that.