skip to Main Content

How to select the first h3 (without class or id) inside a div with the .woocommerce-billing-fields class with vanilla javascript?

The idea is to change the <h3> content when the page loads <div class="woocommerce-billing-fields"> <h3>Detalhes de faturamento</h3> <div class="woocommerce-billing-fields__field-wrapper"> <p class="form-row form-row-first validate-required" id="billing_first_name_field" data-priority="10"><label for="billing_first_name" class="">Nome&nbsp;<abbr class="required" title="obrigatório">*</abbr></label><span class="woocommerce-input-wrapper"><input type="text" class="input-text " name="billing_first_name" id="billing_first_name" placeholder="" value="Brunno" data-qa-id="Nome" autocomplete="given-name"></span></p> <p…

VIEW QUESTION

How to make page not reload and not open php page after click on input with type submit? – SEO

I have page in HTML CSS JS: https://handmade.company/seo/index.html on this page i have form <form class="webform" action="send.php" method="post"> <input class="webinput" type="text" name="imja" placeholder="Ваше имя"> <input class="webinput" type="text" name="phone" placeholder="Ваш телефон"> <input class="webinput" type="text" name="sajt" placeholder="Ваш сайт"> <input class="webinput_btn" type="submit" value="Отправить…

VIEW QUESTION
Back To Top
Search