I'm implementing Merchant 10s new address-validation. But The popup is not displaying.
Can anyone assist?
It's throwing a javascript error
window.openDialog('address-validation');
Uncaught TypeError: window.openDialog is not a function
As I look at the line, the syntax looks wrong.
Can anyone assist?
It's throwing a javascript error
window.openDialog('address-validation');
Uncaught TypeError: window.openDialog is not a function
Code:
window.addEventListener('load', function () { if (showBilling !== null) { document.querySelector('#billing_to_show').click(); } window.openDialog('address-validation'); setFirstSuggestion(); });
Comment