saddysans
December 10th, 2002, 07:05 AM
Hello Friends.
Can anybody tell me whats wrong in this code, its giving runtime error whenever i click the mainframe, rather than alert. Both mainFrame.htm and topmenu.htm are empty files
<html>
<head>
<title>
Testing Co-Browsing
</title>
<script language="javascript">
function ButtonClick()
{
alert("Hello");
}
</script>
</head>
<frameset rows="15%,85%">
<frame src="topmenu.htm" name="topmenu">
<frame src="mainframe.htm" name="mainwindow" onClick="ButtonClick()">
</frameset>
</html>
thanx
saddysan
Can anybody tell me whats wrong in this code, its giving runtime error whenever i click the mainframe, rather than alert. Both mainFrame.htm and topmenu.htm are empty files
<html>
<head>
<title>
Testing Co-Browsing
</title>
<script language="javascript">
function ButtonClick()
{
alert("Hello");
}
</script>
</head>
<frameset rows="15%,85%">
<frame src="topmenu.htm" name="topmenu">
<frame src="mainframe.htm" name="mainwindow" onClick="ButtonClick()">
</frameset>
</html>
thanx
saddysan