serverFrame.setTarget()
s1.setTarget(s2)
s1.setTarget(img)
Sets the target serverFrame of s1, i.e. the serverFrame to which the
results of a WebServer request from s1 are redirected. This second
serverFrame should have an "onReturn()" function defined.
As a convenience, images can be set as targets too. In that case the
server should return a raw image (e.g. with "mode=map" in Mapserver).
Note that in this case the variables in the serverFrame are converted from
POST to GET CGI variables, and are sent along with the URL. This
restricts the length of the parameter string in some browsers (2048
in IE). An image parameter to setTarget can either be a Javascript DOM
variable, returned by "getElementById()", or a string: the image's id.