Hi,

My page has two frames, each has ASP file, which generates the HTML code for 
the page. I have trouble accessing this code.

 When I do "view source" on both pages in browser, it shows me HTML I want but 
when I read HTML on this page by  

 doc = ie.document(), 
puts doc.documentelement.outerhtml

it  displays following HTML. How do I get access to correct HTML. I already 
have tried ie.frames, but didn't work.


........
........
function CreateCase()
{ window.main.window.location.href = 
"../SurveyEditor/IntelligentAlerts/CaseTemplate/CaseFormFrame.asp?RedirectPage=FinishEdit.asp&SurveyorID=737&SurveyID=2420&CloseWindow=False";}

</SCRIPT>
</head>
<frameset border="0" frameborder="0" rows="80, *" onResize="PageReload();">
  <frame name="banner" scrolling="no" noresize target="contents"
  src="DeploySurveyLinks.asp">


  <frame name="main" 
src="../GeneratedSurvey/GeneratedSurveyAppletPanel.asp?SurveyID=2420" 
target="main">
  <noframes>
  <body>
  <p>This page uses frames, but your browser doesn't support them.</p>
  </body>
  </noframes>
</frameset>
</html>


Thanks
Minal
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6556&messageID=18692#18692
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to