169
rated 0 times
[
170]
[
1]
/ answers: 1 / hits: 68721
/ 12 Years ago, wed, august 22, 2012, 12:00:00
this is the code im using.............
i want to get current url(href) from below code ...............
<html>
<head>
<script type=text/javascript>
function load() {
var url = document.getElementById(iframeid);
//get the ifram onload url of href
//(i.e) http://www.image.com/home.html
}
</script>
</head>
<body>
<iframe onload=load() name=Google id=iframeid scrolling=auto style=width:95%;height:600px src=http://www.image.com >
</iframe>
</body>
</html>
More From » javascript