Skip to content

Tag: javascript

jQuery does not change element text after ajax

I have the following html: And I have the following jquery: I have additional jquery that keeps the button disabled until the length of the data in the input is 4. When the length is 4, I enable the button. When running the code, as soon as the length of the data in the input box is 4, the button

How to display Data from PocketBase to VueJS 3

Good day! How do I display all data from PocketBase to VueJS 3 Still new to Vue, Idk why it displays only one data. Tried using v-for but it causes render errors. Any solutions to this? Thank you. Answer With you are overwriting post, so at the end you have one value. Try like: and then use v-for to show