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

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


 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");
f.method = "post"; = "_self";


pls any body can help in this.


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