Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print content of frame?

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
print() function is not working.


TIA.
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rathi ji:





try this to print your frame

 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The contentWindow property returns the window object for the frame. for more...
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And the error message is....

Eric
 
Muhammad Saifuddin
Ranch Hand
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Eric Pascarello:

And the error message is....


Hi Eric,

I do some changing in above code is



change onLoadChange event with ONLOAD event


I don't recieve any error message in this code its running fine..
Please correct me if there is something wrong..
[ November 22, 2006: Message edited by: Saif uddin ]
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Eric Pascarello:
And the error message is....

Eric


The error message was 'object doesn't support this property or method'. I figured out through this message that frame object doesn't have print() function... but I have one more code where I am calling print() function on frame object only and it's working perfectly.

I am doing sth wrong for sure. :roll:

Thanks Saif.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic