<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Thues site</title>
<link rel="stylesheet" type="text/css" href="default.css" media="screen,projection" title="Default" />
<script type="text/javascript">
function getFrameSrc()
{
window.alert(document.getElementById("controlbasket").src);
}
function initialize()
{
document.getElementById("btn_getIframeSrc").onclick = getFrameSrc;
}
</script>
</head>
<body onload="initialize();">
<iframe id="controlbasket" src="
http://www.google.com" frameborder="0" style="width:300px; height:300px;"></iframe>
<input type="button" class="button" value="Test" id="btn_getIframeSrc">
</body>
</html>
Her.. sig til hvís noget skal beskrives.. men det skulle da være til at forstå..
/JJ