0
I need to do a user editing in PHP + javascript, but as I am layman in javascript I do not know how to build the function javascipt since I can have different values within the form.
My form was built like this:
<form action="#" v-on:submit.prevent="save(item.id)" method="POST">
foreach(configurations as config ){
<label for="{{conf.key}}"> {{ conf.alias }}</label>
<input v-model="" type="text" id="{{conf.key}}" name="" class="form-control">
}
<button class="btn btn-default" type="submit">Salvar</button>
</form>
I’m not sure how to do javascript function to receive 1 or more imput parameters