title: How to submit page in a new frame by clicking on another frame
body: <p>I have two frames on my web page as below<br>
  +--------+-----------------+<br>
  |------- |---------------- |<br>
  |------- |---------------- |<br>
  |------- |---------------- |<br>
  |-frame1 |-----frame2----- |<br>
  |------- |---------------- |<br>
  |------- |---------------- |<br>
  |------- |---------------- |<br>
  |------- |---------------- |<br>
  +--------+-----------------+  </p>
  
  <p>When i click on frame1 (navigation menu frame) it should display the contents on frame2 (content frame). But right now when i click on frame1, content frame is displayed on frame1 itself (overriding navigation menu frame).</p>
  
  <p>I cannot use "target" option as the link for the page to display in frame2 is present in  instead of , I think i have to set the source from frame1 in onClick function as below</p>
  
  <p>onClick = "document.getElementId ('frame1Id').src='frame2';</p>
  
  <p>But this is not working as i'm seeing javascript error in firefox:
  document.getElementById("frameId") is null</p>
  
  <p>Can any one help me out in resolving this.</p>