I have this function:
$('.PhoneNumbers').on('keyup focusout', $('input:text[name^="Customers[0].PhoneNumbers"]'), function (e) {
phoneRadioBtns(e);
});
The problem is that when I refresh the page, it fires the keyup event and performs this function, which is not the desired result. Does anyone know how to fix this?
Tanya source
share