My current situation involves using software that generates all the HTML/XML code for me, so I don't have direct access to it. I've created a button that is intended to open a form in a new window. Strangely, when I physically click on the button, everything functions as expected. However, when I try to trigger the button using code onload, I receive a message stating that the page is blocked and I need to disable any popup blockers.
var button = getElement("GUID_of_Button");
button.click();
This piece of code successfully opens the form in a tooltip within the same window, but not as intended in a new window. I've tested this on Chrome, Firefox, and IE with consistent results (and no console errors).
I also noticed the following information when inspecting element:
<input name="buttoncontrol0F09F8F7" id="ID_buttoncontrol0F09F8F7" value="Click here" type="submit" title="Click here" class="Button_Standard" style="cursor: pointer;">==$0
While I could manually remove pop-up blockers myself, this solution isn't feasible for the entire office. Any guidance or suggestions on how to resolve this issue would be greatly appreciated.