Retrieves a string indicating how the module is hosted.
public String getModuleHost()
Returns a string describing the host type. Currently the possible values are:
"IIS", indicating an Internet server.
"IE", indicating an Internet browser (client side).
"CONSOLE", indicating a console (typically using jview.exe).
"NONE", indicating an unknown host environment.
"other".
You can call getModuleHost from your initForm method and adjust your module's behavior as appropriate. For example, if the host is "IIS", creating event handlers on HTML elements has no effect.