| 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: 15357
|
|
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: 15357
|
|
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
|
 |
 |
|
|
subject: Eric, come in please
|
|
|