function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BondicloudBondicloud 

window.onload is opening new window in Internet Explorar so how to make self window

Hi,

 the bellow code working correctly in crome browser but in IE it is opening new window, so how to make self window in IE.

window.onload = function() {
// create the form. Set it up to POST the transaction
f = document.createElement("form");
//http://d1t0028g.austin.hp.com/ewfrf/wc/arcHome
f.action="https://astroitgadt.cce.hp.com/ewfrf-sfdc/wc/arcHome";
f.method = "post";
f.target = "_self";

 

pls any body can help in this.

 

Avidev9Avidev9
these browser compatibility issues are really hard to handle, can you move this code to the controller ? I guess you can. You can call a method from page action which can do the post to the endpoint