Hi Guys,
Here is a sample iFrame example.
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<script >
function go(loc){
alert(loc);
document.getElementById('calendar').src = loc;
}
</script>
</head>
<body>
<iframe id="calendar" src="about:blank" width="1000" height="450" frameborder="2" scrolling="no"></iframe>
<form method="post">
<input name="calendarSelection" type="radio" onclick="javascript:go('https://google.com')"/>Day
</form>
</body>
</html>
Thanks,
Rajesh Kumar Yuvaraj
Here is a sample iFrame example.
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Untitled 1</title>
<script >
function go(loc){
alert(loc);
document.getElementById('calendar').src = loc;
}
</script>
</head>
<body>
<iframe id="calendar" src="about:blank" width="1000" height="450" frameborder="2" scrolling="no"></iframe>
<form method="post">
<input name="calendarSelection" type="radio" onclick="javascript:go('https://google.com')"/>Day
</form>
</body>
</html>
Thanks,
Rajesh Kumar Yuvaraj
No comments:
Post a Comment