2
hi
Define the bellow function with two ancher element with two url as href attribut.
call the function on button click event
- function singleclick()
- {
- var link1 = document.createElement("a");
- var link2 = document.createElement("a");
- link1.href = "http://test1.com";
- loink2.href = "http://test2.com";
- link1.click();
- link2.click();
- }
Thanks and Regards
1
https://css-tricks.com/separate-form-submit-buttons-go-different-urls/