Availability: |
| |||
Property/method value type: | User defined | |||
JavaScript syntax: | IE | execScript(aSourceText) | ||
IE | execScript(aSourceText, aLanguage) | |||
IE | myWindow.execScript(aSourceText) | |||
IE | myWindow.execScript(aSourceText, aLanguage) | |||
Argument list: | aSourceText | Some legal script source text | ||
aLanguage | The language to execute the script source in |
This is somewhat like an eval() call except that the script runs in the context and scope chain of the target window and not the window whose script makes the call.
Because this is currently only supported in MSIE, you may not find it very useful.
See also: | Frame object, Window object |
Prev | Home | Next |
Window.event | Up | Window.external |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |