// Установка обработчиков для уже существующих полей document.querySelectorAll('input, textarea').forEach(function(input) { addInputEventHandlers(input); }); // Отслеживание изменений в DOM для новых элементов var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { mutation.addedNodes.forEach(function(node) { if (node.tagName === 'INPUT' || node.tagName === 'TEXTAREA') { addInputEventHandlers(node); } // Также обработаем случаи, когда новые элементы содержат вложенные input или textarea if (node.nodeType === Node.ELEMENT_NODE) { node.querySelectorAll('input, textarea').forEach(function(input) { addInputEventHandlers(input); }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); });
Popular
Second tariff
$15
per month
Monthly
Yearly
First tariff
The first feature

The second feature

The third feature

The forth feature

The fifth feature

The sixth feature
The first feature

The second feature

The third feature

The forth feature

The fifth feature

The sixth feature
$25
per month
Monthly
Yearly
Popular
Second tariff
$30
per month
Monthly
Yearly
First tariff
The first feature

The second feature

The third feature

The forth feature

The fifth feature

The sixth feature
The first feature

The second feature

The third feature

The forth feature

The fifth feature

The sixth feature
$50
per month
Monthly
Yearly