View Single Post
  #2 (permalink)  
Old June 12th, 2007, 02:03 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well assuming the frames are both populated from the same web domain and use the same protocol then you should be able to grab the document,
Code:
var doc = top.frames["framebname"].document
Then use regular DHTML:
Code:
alert(doc.body.substr(0, 100));
--

Joe (Microsoft MVP - XML)
Reply With Quote