Internet Explorer changes link text when changing the href

Today I came across a IE bug and wanted to ask if we could apply a generic workaround to jquery.

HTML

<a id="testNode" href="#">example</a>

JavaScript

$('#testNode').text("www.ssssssss.org");
$('#testNode').attr("href", "http://www.example.com");