aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Eric, come in please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Eric, come in please" Watch "Eric, come in please" New topic
Author

Eric, come in please

kirts li
Greenhorn

Joined: Jul 17, 2004
Posts: 6
Eric,

I ever posted a topic "how to call javascript function in the previous html file" on July 17. You suggest me to use innerHtml or visiblity to display the output. Would you please give me some examples for these two cases? Thanks a lot!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Example with innerHTML


Example with visibility


There is a third way using DOM to create elements on the page, but I do not have time to whip up that example right now due to a deadline with my publisher being very soon.

Eric
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I was editing chapter 15 in my book and here is the thrid method on adding information to the page



the elem parameter is the object you want to add it to. If you want to add it to a div you would use the div id

example: you have this div


you can add a text box too it with a button


Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eric, come in please