Good afternoon, sorry for the stupid question.
I need to get content from h1 or p or something else and pass it to the form vue and post it to the backend, how can this be done?
I know how to do it through the input and in the v-model, but how to get the values from the div content? I have form:
setup(props) {
const form = useForm({
name: props.user.name,
....
});
And i have this HTML code, how i can get data from:
<h2 v-else >{{ price * counter }}$</h2>
or
<h2 id="saleCount"{{ price * counter * (100 - 20) / 100}}</h2>
and put it to my const form?