home / experts / javascript / column90 |
|
Passing Objects to the Dialog BoxA more powerful way to pass information between the caller and the callee is through an object. You can pass properties from the caller to callee and back from the callee to the caller. You can also define the object's methods within the caller and use them within the callee. In fact, you can pass the caller Let's see an example. Our caller invokes the callee to prompt the user for his or her favorite color. The color is communicated back to the caller via the caller's
The favorite color field, Next: How to update the caller application from its dialog box |
| ||||||||||||||||||||
Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: August 13, 2001
Revised: August 13, 2001
URL: http://www.webreference.com/js/column90/8.html