I have a button with the click event I need to perform basically as the action of an href, since by using a link to send information to another page, however I want to run and instead open a new window to open an alert saying process completed, and keep me on the same page.
<button type="submit" onclick= "window.open('http://53.18.19.1/module/ps_buybuttonlite/RedirectManager?id_product=23&action=1&id_product_attribute=null','_blank')">ENVIAR DATOS</button>