|
getting href info dynamically
Can anyone let me know how can I get the href info dynamically
I have 2 different webistes, just want to show those website urls dynamically
<html>
<body>
<a href="http://www.yahoo.com" target="_blank">YAHOO</a>
<a href="http://www.Google.com" target="_blank">Google</a>
<script type="text/javascript">
document.write(href url of yahoo);
document.write('href url of google);
</script>
</body>
</html>
thanks for help in advance
|