I am trying to open a thank you message in a new tab when a form is submit, using JS : window.open('url');. It is working on Chrome, but it seems to be blocked by Firefox.
Is there a way to get around this issue ?
Thanks !
I am trying to open a thank you message in a new tab when a form is submit, using JS : window.open('url');. It is working on Chrome, but it seems to be blocked by Firefox.
Is there a way to get around this issue ?
Thanks !
for your reference use this link
https://developer.mozilla.org/en-US/docs/Web/API/Window/open