Let's say you have a page with just one link on it. How can you change the anchor tag so it links to example.com?
$('a').attribute('href', 'http://www.example.com')
$('a').attr('href', 'http://www.example.com')
$('a').data('href', 'http://www.example.com')
$('a').href('http://www.example.com')