Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="Javascript">
// here JS
</script>
</head>
<form id="form1" name="form1">
<frameset rows="40%,*">
<frame id="frame1" name="frame1"src="check.html" />
<frame id="frame2" name="frame2"src="mod.htm" "/>
</frameset>
</form>
</html>
In this I want to disable the frame1 when I click on some button on frame2.
Disable means contents in frame1 should not be clickable, editanle , selectable.