ボタンをクリックして 2 つの異なるウィンドウを開こうとしていますが、ボタンをクリックすると同じウィンドウが 2 回開きます。これは私の機能です:
function flush(form) {
var custid = form.custid.value;
var url1 = "https://www.blabla.com?type=customer&id="+custid;
flushWindow1 = window.open(url1);
var url2 = "https://web.blabla.com?type=customer&id="+custid;
flushWindow2 = window.open(url2);
}
誰も私がこれを行う方法を知っていますか?