skip to Main Content

change text in button with javascript vanilla

I know that my question it may seem very simple. But i can´t change my text button. My button in web browser console it´s: <button class="nav-link active" id="coholder-tab" data-toggle="tab" data-target="#coholder" type="button" role="tab" aria-controls="coholder" aria-selected="true">COTITULAR 1 <i class="fa fa-1x fa-trash ml-3…

VIEW QUESTION

Javascript – resetting v-model of child component

In my parent component I have something similar to this, <template> <ProductCounter v-model="formData.productCount" label="product count" /> </template> <script setup> const initialFormData = { productCount: null, firstname: '', surname: '', phone: '', email: '', postcode: '', submittedOnce: false, errors: [] }…

VIEW QUESTION
Back To Top
Search