Untitled

mail@pastecode.io avatar
unknown
plain_text
4 years ago
323 B
1
Indexable
Never
    let formElement = document.getElementById('vip-customize-form');
    if (formElement.addEventListener) {
        formElement.addEventListener('submit', vipFormSubmit);  //Modern browsers
    } else if (formElement.attachEvent) {
        formElement.attachEvent('onsubmit', vipFormSubmit);            //Old IE
    }