}
else {
// download should be done ASAP, response will be loaded into a window later
final WebRequestSettings requestSettings = getHtmlForm().getWebRequestSettings(null);
final String target = page.getResolvedTarget(jsxGet_target());
webClient.download(page.getEnclosingWindow(), target, requestSettings, "JS form.submit()");
}
}
/**
* Retrieves a form object or an object from an elements collection.