JQurey_API, как вариант...
<!DOCTYPE html>
<html ng-app>
<head>
<script src='http://code.jquery.com/jquery-latest.js'></script>
<!--
<script src="http://code.angularjs.org/1.1.4/angular.min.js"></script>
<link rel='stylesheet type=text/css href=tmp.css' />
-->
<style type='text/css'>
</style>
<script type='text/javascript'>
$(function(){
$('a').attr('href',$('iframe').attr('src'));
$('iframe').removeAttr('src');
});
</script>
</head>
<body>
<a
class="flat_button button_big"
style="font-size:13px; margin: 20px 0px;"
target="_blank"
href="javascript:void(0);"
>
Перейти к
</a>
<div class="target">
<iframe
width="100px"
height="100px"
frameborder="0"
src="http://javascript.ru/forum/jquery/53427-peretashhit-sssylki-iz-src-v-href.html"
/>
</div>
</body>
</html>